From 091dd7524796e5927960a268c6c73d183b1015ac Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Sat, 14 Sep 2024 11:14:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E4=B8=8Asql=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sgzb-base/src/main/resources/mapper/app/TmTaskMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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