diff --git a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml index 0c8cb68..6958245 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml @@ -882,7 +882,7 @@ where DETIAL_TYPE_CODE = '1004' length(MATERIAL_NAME)), ',', 1, 1) - 1) || ')' as name , round(ACTUAL_QTY / ORDER_QTY * 100, 2) as rate, - case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 3 else 0 end as qty + case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 2 else 0 end as qty from IMOS_PR_ORDER where to_char(FINISH_DATE,'yyyy-MM-dd') = ( @@ -905,7 +905,7 @@ where DETIAL_TYPE_CODE = '1004' length(MATERIAL_NAME)), ',', 1, 1) - 1) || ')' as name , round(ACTUAL_QTY / ORDER_QTY * 100, 2) as rate, - case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 1 else 0 end as qty + case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 3 else 0 end as qty from IMOS_PR_ORDER where to_char(FINISH_DATE,'yyyy-MM-dd') = (