Commit dd5fb7fe authored by 张森's avatar 张森

Merge remote-tracking branch 'origin/develop_dl_bugfix' into develop_dl_bugfix

parents b354e86c 6dfdc8cf
...@@ -717,7 +717,7 @@ ...@@ -717,7 +717,7 @@
) d ) d
<where> <where>
<if test="fireEquipmentName!=null"> <if test="fireEquipmentName!=null">
AND d.fireEquipmentName LIKE '%${fireEquipmentName}%' AND d.fireEquipmentName LIKE '%#{fireEquipmentName}%'
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startTime != null and startTime != ''">
AND d.update_date &gt;= #{startTime} AND d.update_date &gt;= #{startTime}
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
) d ) d
<where> <where>
<if test="fireEquipmentName!=null"> <if test="fireEquipmentName!=null">
AND d.fireEquipmentName LIKE '%${fireEquipmentName}%' AND d.fireEquipmentName LIKE concat('%', #{fireEquipmentName}, '%')
</if> </if>
<if test="startTime != null and startTime != ''"> <if test="startTime != null and startTime != ''">
AND d.create_date &gt;= #{startTime} AND d.create_date &gt;= #{startTime}
...@@ -772,6 +772,6 @@ ...@@ -772,6 +772,6 @@
</if> </if>
</where> </where>
ORDER BY d.create_date desc ORDER BY d.create_date desc
LIMIT ${start},${length} LIMIT #{start},#{length}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
...@@ -576,8 +576,7 @@ ...@@ -576,8 +576,7 @@
<where> <where>
<if test="inputText!=null and inputText != ''"> <if test="inputText!=null and inputText != ''">
( (
tmp.code LIKE '%${inputText}%' tmp.code LIKE concat('%', #{inputText}, '%')
OR tmp.name LIKE '%${inputText}%'
) )
</if> </if>
<if test="type!=null and type!=''"> <if test="type!=null and type!=''">
......
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