|
@@ -46,7 +46,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
a.del_flag = '0'
|
|
|
<if test="p.repairName != null and p.repairName != ''">
|
|
|
- and a.repair_name = #{p.repairName}
|
|
|
+ and a.repair_name like CONCAT('%',#{p.repairName},'%')
|
|
|
+ </if>
|
|
|
+ <if test="p.enginName != null and p.enginName != ''">
|
|
|
+ and a.engin_name like CONCAT('%',#{p.enginName},'%')
|
|
|
</if>
|
|
|
<if test="p.repairType != null and p.repairType != ''">
|
|
|
and a.repair_type = #{p.repairType}
|
|
@@ -57,6 +60,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="p.pipelinePressure != null and p.pipelinePressure != ''">
|
|
|
and a.pipeline_pressure = #{p.pipelinePressure}
|
|
|
</if>
|
|
|
+ <if test="p.time != null and p.time != ''">
|
|
|
+ and a.repair_time between #{p.time[0]} and #{p.time[1]}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
ORDER BY a.create_time DESC
|
|
|
</select>
|