Commit cda5d73c authored by suhuiguang's avatar suhuiguang Committed by hcing

refactor(amos-boot-module-statistics): 重构人员统计分析中的资质查询逻辑

- 提取重复的资质查询条件构建方法,提高代码复用性 - 优化无资质和需要资质的人员查询逻辑,提升代码可读性 - 移除冗余的查询条件组装代码,简化统计分析过程
parents 3a4f61be 3eca3bf5
......@@ -216,6 +216,7 @@ public class JgEquipTransferServiceImpl extends BaseService<JgEquipTransferDto,
.distinct()
.collect(Collectors.toList()), ","));
transfer.setEquAddress(projectContraption.getAddress());
transfer.setSupervisoryCode(projectContraption.getSupervisoryCode());
transfer.setEquCode(org.apache.commons.lang3.StringUtils.join(
idxBizJgRegisterInfoServiceImpl.lambdaQuery()
.in(IdxBizJgRegisterInfo::getRecord, records)
......
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