class Other { String test1; int test2; } class Person { String name; int age; List<Other> others; }
SqlPara sqlPara = Db.(Kv.(userId))List<Person> r = Db.(sqlPara)
我想问如何把查询到的数据传入到对应的other的属性里
项目:JFinal
class Other { String test1; int test2; } class Person { String name; int age; List<Other> others; }
SqlPara sqlPara = Db.(Kv.(userId))List<Person> r = Db.(sqlPara)
我想问如何把查询到的数据传入到对应的other的属性里
2.联表查询自定义代码处理