问题修改
This commit is contained in:
parent
a3836fdb8d
commit
5326f9a137
|
|
@ -224,11 +224,11 @@
|
|||
left join sys_user su2 on su2.user_id = rd.repairer
|
||||
where
|
||||
rd.is_ds=1
|
||||
<if test="status !=null and status!=''">
|
||||
<if test="status=='0'">
|
||||
<if test="appTaskStatus !=null">
|
||||
<if test="appTaskStatus==0">
|
||||
and tt.task_status = 0
|
||||
</if>
|
||||
<if test="status=='1'">
|
||||
<if test="appTaskStatus==1">
|
||||
and (tt.task_status = 1 or tt.task_status = 2 or tt.task_status = 4)
|
||||
</if>
|
||||
</if>
|
||||
|
|
@ -250,12 +250,6 @@
|
|||
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
||||
AND tt.create_time BETWEEN CONCAT(#{startTime}, ' 00:00:00') AND CONCAT(#{endTime}, ' 23:59:59')
|
||||
</if>
|
||||
<if test="appTaskStatus != null and appTaskStatus == 0">
|
||||
and tt.task_status = #{appTaskStatus}
|
||||
</if>
|
||||
<if test="appTaskStatus != null and appTaskStatus == 1">
|
||||
and (tt.task_status = 1 or tt.task_status = 2)
|
||||
</if>
|
||||
GROUP BY rd.task_id,bui.unit_name,bpi.pro_name,bai.code,su.nick_name
|
||||
order by tt.create_time desc
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue