diff --git a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml index 8d50f82..db3c4ab 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml @@ -860,9 +860,10 @@ where DETIAL_TYPE_CODE = '1004' ) * 100, 2) as qty, '清单率' as name from DUAL union - select sum(IN_QTY) as qty, '入库订单统计' as name - from IMOS_PR_PRODUCT_IN - where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') + select count(1)as qty, '入库订单统计' as name + from IMOS_PR_PRODUCT_BARCODE ippb + where DETIAL_TYPE_CODE = '1004' + and to_char(SCAN_TIME, 'yyyy-MM-dd') =to_char(SYSDATE, 'yyyy-MM-dd')