Commit ef9ec5c5 authored by 鲁鸿波's avatar 鲁鸿波

相关方bug

parent 7762ada4
...@@ -260,7 +260,7 @@ public class NewSysOrgController extends SuperController { ...@@ -260,7 +260,7 @@ public class NewSysOrgController extends SuperController {
relatedParties.setOrgType("1"); relatedParties.setOrgType("1");
relatedParties.setOrgName("相关方作业"); relatedParties.setOrgName("相关方作业");
// 获取当前组织的所有承包商台账信息 // 获取当前组织的所有承包商台账信息
List<Object> infoIds = tContractorLedgerService.listObjs(new QueryWrapper<TContractorLedger>().select(TContractorLedger.INFO_ID).eq(TContractorLedger.ORG_ID, orgId).groupBy(TContractorLedger.INFO_ID)); List<Object> infoIds = tContractorLedgerService.listObjs(new QueryWrapper<TContractorLedger>().select(TContractorLedger.INFO_ID).like(TContractorLedger.ORG_ID, orgId).groupBy(TContractorLedger.INFO_ID));
List<NewSysOrg> contractors = new ArrayList<>(); List<NewSysOrg> contractors = new ArrayList<>();
for (Object infoId : infoIds) { for (Object infoId : infoIds) {
TContractorInfo tContractorInfo = tContractorInfoService.getById(infoId.toString()); TContractorInfo tContractorInfo = tContractorInfoService.getById(infoId.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment