|
@ -62,7 +62,7 @@ public class BsSgcJsjdBuiDedicatedAccountController extends BaseController |
|
|
IPage<BsSgcJsjdBuiDedicatedAccount> iPage = bsSgcJsjdBuiDedicatedAccountService.selectPage(sp); |
|
|
IPage<BsSgcJsjdBuiDedicatedAccount> iPage = bsSgcJsjdBuiDedicatedAccountService.selectPage(sp); |
|
|
List<BsSgcJsjdBuiDedicatedAccount> records = iPage.getRecords(); |
|
|
List<BsSgcJsjdBuiDedicatedAccount> records = iPage.getRecords(); |
|
|
for (BsSgcJsjdBuiDedicatedAccount bs:records){ |
|
|
for (BsSgcJsjdBuiDedicatedAccount bs:records){ |
|
|
List<BsSgcJsjdBuiGzbzj> bsSgcJsjdBuiGzbzjs = bsSgcJsjdBuiGzbzjMapper.selectList(new QueryWrapper<BsSgcJsjdBuiGzbzj>().eq("dedicatedAccounts", bs.getId())); |
|
|
List<BsSgcJsjdBuiGzbzj> bsSgcJsjdBuiGzbzjs = bsSgcJsjdBuiGzbzjMapper.selectList(new QueryWrapper<BsSgcJsjdBuiGzbzj>().eq("dedicated_accounts", bs.getId())); |
|
|
bs.setChildren(bsSgcJsjdBuiGzbzjs); |
|
|
bs.setChildren(bsSgcJsjdBuiGzbzjs); |
|
|
} |
|
|
} |
|
|
iPage.setRecords(records); |
|
|
iPage.setRecords(records); |
|
|