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