From ad3b288b5070c7f6e392c3793fcd7ac3351137a1 Mon Sep 17 00:00:00 2001 From: LJW Date: Thu, 14 Nov 2024 16:58:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=85=A5=E5=BA=93=E4=BB=BB=E5=8A=A1):?= =?UTF-8?q?=20=E6=9F=A5=E8=AF=A2=E6=A0=B9=E6=8D=AE=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml b/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml index c603cca..55ad58f 100644 --- a/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml +++ b/ktg-mes/src/main/resources/mapper/wm/WmsInTaskMapper.xml @@ -52,8 +52,8 @@ a.PLAN_IN_CODE, a.MATERIAL_CODE, a.DETAIL_IN_ID, - b.AREA_CODE AS CELL_CODE, - b.AREA_NAME AS CELL_NAME + b.AREA_CODE as CELL_CODE, + b.AREA_NAME as CELL_NAME from WMS_IN_TASK a left join WM_STORAGE_AREA b on b.AREA_ID = a.CELL_TGT @@ -84,6 +84,7 @@ and MATERIAL_CODE = #{materialCode} and DETAIL_IN_ID = #{detailInId} + order by a.CREATE_TIME desc