线上sql报错修改
This commit is contained in:
parent
da26589e8d
commit
091dd75247
|
|
@ -603,11 +603,11 @@
|
||||||
GROUP BY tt.task_id
|
GROUP BY tt.task_id
|
||||||
order by
|
order by
|
||||||
case when #{record.orderStatus} = 0 then tt.update_time
|
case when #{record.orderStatus} = 0 then tt.update_time
|
||||||
when #{record.orderStatus} = 1 then tt.update_time
|
when #{record.orderStatus} = 1 or #{record.orderStatus} is null then tt.update_time
|
||||||
when #{record.orderStatus} = 2 then tt.task_status
|
when #{record.orderStatus} = 2 then tt.task_status
|
||||||
when #{record.orderStatus} = 3 then tt.task_status
|
when #{record.orderStatus} = 3 then tt.task_status
|
||||||
end
|
end
|
||||||
<if test="record.orderStatus == 1 or record.orderStatus == 3">
|
<if test="record.orderStatus == 1 or record.orderStatus == 3 or record.orderStatus == null">
|
||||||
desc
|
desc
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue