From 132d6c9df71c2423febe94c0650de4fb87dcb648 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Wed, 23 Oct 2024 01:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=AE=E5=90=8EBUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/AftersalesAppealMapper.xml | 2 +- .../mapper/AftersalesWorkOrderMapper.xml | 2 + .../impl/AftersalesWorkOrderServiceImpl.java | 82 ++++++++++--------- 3 files changed, 46 insertions(+), 40 deletions(-) diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAppealMapper.xml b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAppealMapper.xml index 025614d3f..e8189e8cd 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAppealMapper.xml +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesAppealMapper.xml @@ -71,7 +71,7 @@ and laa.types_of in ('0','1','2','3') and laa.types_of in ('0','1','2') - Order by laa.create_time desc + Order by lawo.create_time,laa.create_time desc diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml index 4b85796b0..8787fa8e4 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml @@ -500,6 +500,8 @@ GROUP BY lawo.id + ORDER BY + lawo.create_time DESC