Commit 0335913e authored by zhangsen's avatar zhangsen

系统查询修改

parent 07abcbde
...@@ -73,6 +73,8 @@ public class EquipmentManageServiceImpl extends ServiceImpl<EquipmentManageMappe ...@@ -73,6 +73,8 @@ public class EquipmentManageServiceImpl extends ServiceImpl<EquipmentManageMappe
map.clear(); map.clear();
map.put("dataList", dataList); map.put("dataList", dataList);
map.put("count", count); map.put("count", count);
map.put("current", current);
map.put("pageSize", pageSize);
return map; return map;
} }
......
...@@ -60,10 +60,10 @@ ...@@ -60,10 +60,10 @@
from from
f_fire_fighting_system f_fire_fighting_system
where 1=1 where 1=1
<if test="equimentName != 'null' "> <if test="equimentName != null and equimentName != '' ">
AND name like CONCAT('%',#{equimentName},'%') AND name like CONCAT('%',#{equimentName},'%')
</if> </if>
<if test="equimentCode != 'null' "> <if test="equimentCode != null and equimentCode != '' ">
AND code like CONCAT('%',#{equimentCode},'%') AND code like CONCAT('%',#{equimentCode},'%')
</if> </if>
<if test="construction != 'all' "> <if test="construction != 'all' ">
......
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