From 2e2ff790296f9a86256fea7b3c29a869cfbf178e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=8D=E5=96=9C?= Date: Tue, 17 Dec 2024 10:15:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/md/BaseKnifeMapper.xml | 49 ++++++++++--------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml b/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml index ad81fce..7f70eda 100644 --- a/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml +++ b/ktg-mes/src/main/resources/mapper/md/BaseKnifeMapper.xml @@ -82,7 +82,7 @@ BK.SAFE_STOCK, BK.STANDARD_QUANTITY, BK.AREA_CODE, - WSA.AREA_NAME AREA_NAME, + WSA.AREA_NAME AREA_NAME, BK.KNIFE_LIFE, BK.KNIFE_FINE_STATE, BK.IS_LOCKED, @@ -192,21 +192,21 @@ order by create_time desc - - + + SELECT AREA_CODE FROM BASE_KNIFE + WHERE KNIFE_FINE_STATE == 1 GROUP BY AREA_CODE \ No newline at end of file