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