Commit 3e89f929 authored by KeYong's avatar KeYong

修改bug

parent b221a19f
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
AND sys.CODE like CONCAT('%',#{equimentCode},'%') AND sys.CODE like CONCAT('%',#{equimentCode},'%')
</if> </if>
<if test="nameOrCode != null and nameOrCode != ''"> <if test="nameOrCode != null and nameOrCode != ''">
AND (sys.CODE like CONCAT('%',#{nameOrCode},'%') or sys.NAME like CONCAT('%',#{nameOrCode},'%') OR wec.`name` like CONCAT('%',#{nameOrCode},'%')) AND (sys.CODE like CONCAT('%',#{nameOrCode},'%') OR sys.NAME like CONCAT('%',#{nameOrCode},'%') OR wec.`name` like CONCAT('%',#{nameOrCode},'%') OR sys.system_type_code like CONCAT('%',#{nameOrCode},'%'))
</if> </if>
<if test="construction != 'all' "> <if test="construction != 'all' ">
AND sys.CONSTRUCTION_UNIT = #{construction} AND sys.CONSTRUCTION_UNIT = #{construction}
......
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