|
@@ -62,7 +62,7 @@
|
|
<where>
|
|
<where>
|
|
ts.delete_flag = 0
|
|
ts.delete_flag = 0
|
|
<if test="number != null and number != ''">
|
|
<if test="number != null and number != ''">
|
|
- AND ts.number LIKE CONCAT('%',#{number},'%')
|
|
|
|
|
|
+ AND (ts.number LIKE CONCAT('%',#{number},'%') OR ts.task_name LIKE CONCAT('%',#{number},'%'))
|
|
</if>
|
|
</if>
|
|
<if test="taskStatus != null and taskStatus != 0">
|
|
<if test="taskStatus != null and taskStatus != 0">
|
|
AND ts.task_status = #{taskStatus}
|
|
AND ts.task_status = #{taskStatus}
|
|
@@ -70,8 +70,8 @@
|
|
<if test="depotId != null and depotId !=''">
|
|
<if test="depotId != null and depotId !=''">
|
|
AND ts.depot_id = #{depotId}
|
|
AND ts.depot_id = #{depotId}
|
|
</if>
|
|
</if>
|
|
- <if test="createName != null and createName !=''">
|
|
|
|
- AND ju.username LIKE CONCAT('%',#{createName},'%')
|
|
|
|
|
|
+ <if test="createBy != null and createBy !=''">
|
|
|
|
+ AND ts.create_by = #{createBy}
|
|
</if>
|
|
</if>
|
|
GROUP BY
|
|
GROUP BY
|
|
ts.id
|
|
ts.id
|