Commit 7b13465e authored by KeYong's avatar KeYong

修改bug

parent 40229882
...@@ -67,6 +67,8 @@ public class CommonPageParamUtil { ...@@ -67,6 +67,8 @@ public class CommonPageParamUtil {
param.setEquipmentCode(toString(queryRequests.get(i).getValue())); param.setEquipmentCode(toString(queryRequests.get(i).getValue()));
} else if("specificIndexKey".equals(name)){ } else if("specificIndexKey".equals(name)){
param.setFireEquipmentSpecificIndexKey(toString(queryRequests.get(i).getValue())); param.setFireEquipmentSpecificIndexKey(toString(queryRequests.get(i).getValue()));
} else if("indexTypeCode".equals(name)){
param.setIndexTypeCode(toString(queryRequests.get(i).getValue()));
} }
} }
if(commonPageable !=null){ if(commonPageable !=null){
......
...@@ -370,8 +370,8 @@ ...@@ -370,8 +370,8 @@
<if test="param.equipmentCode != null and param.equipmentCode != ''"> <if test="param.equipmentCode != null and param.equipmentCode != ''">
AND d.equipmentCode like concat(concat("%",#{param.equipmentCode}),"%") AND d.equipmentCode like concat(concat("%",#{param.equipmentCode}),"%")
</if> </if>
<if test="param.indexTypeCode != null and param.indexTypeCode != ''">AND <if test="param.indexTypeCode != null and param.indexTypeCode != ''">
AND d.type == #{param.indexTypeCode} AND d.type = #{param.indexTypeCode}
</if> </if>
<if test="param.fireEquipmentSpecificIndexKey != null and param.fireEquipmentSpecificIndexKey != ''"> <if test="param.fireEquipmentSpecificIndexKey != null and param.fireEquipmentSpecificIndexKey != ''">
AND d.fireEquipmentSpecificIndexKey like concat(concat("%",#{param.fireEquipmentSpecificIndexKey}),"%") AND d.fireEquipmentSpecificIndexKey like concat(concat("%",#{param.fireEquipmentSpecificIndexKey}),"%")
......
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