Commit 1ee6d110 authored by tianbo's avatar tianbo

fix(jg): 修复装置报废查询中的参数传递错误

- 修正了selectAllScrapedProIds方法的参数,从proIds改为useUnitCreditCode
parent 53403672
...@@ -5052,7 +5052,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD ...@@ -5052,7 +5052,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
.collect(toSet()); .collect(toSet());
if (!ValidationUtil.isEmpty(proIds)) { if (!ValidationUtil.isEmpty(proIds)) {
// 同时需排除所有管道都已报废的装置id // 同时需排除所有管道都已报废的装置id
List<String> allScrapedProIds = this.baseMapper.selectAllScrapedProIds(proIds); List<String> allScrapedProIds = this.baseMapper.selectAllScrapedProIds(useUnitCreditCode);
proIds.addAll(allScrapedProIds); proIds.addAll(allScrapedProIds);
proIds.remove(null); proIds.remove(null);
proIds.remove(""); proIds.remove("");
......
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