diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/TmTaskMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/TmTaskMapper.xml index 5bd897d1..97a5297b 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/TmTaskMapper.xml +++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/TmTaskMapper.xml @@ -603,11 +603,11 @@ GROUP BY tt.task_id order by 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} = 3 then tt.task_status end - + desc