Commit f2a2068c authored by KeYong's avatar KeYong

修改系统详情查询系统部件个数接口

parent 4b2452c3
......@@ -1226,9 +1226,8 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
// 部件总数
Integer equipmentCount = equipmentSpecificMapper.selectCount(
Wrappers.<EquipmentSpecific>lambdaQuery()
.eq(EquipmentSpecific::getSystemId, id)
.like(EquipmentSpecific::getSystemId, id)
.isNotNull(EquipmentSpecific::getEquipmentCode)
.eq(EquipmentSpecific::getSingle, true)
.likeRight(StringUtils.hasText(bizOrgCode), EquipmentSpecific::getBizOrgCode, bizOrgCode)
);
// 未复归设备
......
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