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