Commit 4bc1f026 authored by litengwei's avatar litengwei

代码提交

parent ee9b99f5
...@@ -111,7 +111,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService { ...@@ -111,7 +111,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
EquipmentSpecificIndex equipmentSpeIndex = equipmentSpecificIndexMapper.selectOne(queryWrapper); EquipmentSpecificIndex equipmentSpeIndex = equipmentSpecificIndexMapper.selectOne(queryWrapper);
equipAlarm.setKey(indexKey); equipAlarm.setKey(indexKey);
equipAlarm.setValue(equipmentSpeIndex.getValue()); equipAlarm.setValue(equipmentSpeIndex.getValue());
equipAlarm.setAlarmContent(equipmentSpeIndex.getEquipmentName() + equipmentSpeIndex.getEquipmentIndexName()); equipAlarm.setAlarmContent(equipmentSpeIndex.getEquipmentSpecificName() + equipmentSpeIndex.getEquipmentIndexName());
equipAlarm.setAlarmDate(equipmentSpeIndex.getUpdateDate()); equipAlarm.setAlarmDate(equipmentSpeIndex.getUpdateDate());
......
...@@ -5909,8 +5909,9 @@ ...@@ -5909,8 +5909,9 @@
from from
cb_water_resource cb_water_resource
<where> <where>
resource_type = 'industryPool' or resource_type = 'pool'
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
</where> </where>
) AS total, ) AS total,
...@@ -5920,6 +5921,7 @@ ...@@ -5920,6 +5921,7 @@
cb_water_resource cb_water_resource
<where> <where>
water_status = '2' water_status = '2'
AND resource_type = 'industryPool' or resource_type = 'pool'
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
...@@ -5931,6 +5933,7 @@ ...@@ -5931,6 +5933,7 @@
cb_water_resource cb_water_resource
<where> <where>
water_status = '1' water_status = '1'
AND resource_type = 'industryPool' or resource_type = 'pool'
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%') AND biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
......
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