From e8c92543617221ef4ff7a9bb9cddf19bd2ea3ef7 Mon Sep 17 00:00:00 2001 From: wangh <123456> Date: Mon, 25 Jul 2022 16:04:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=80=BB=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/BroadDataMapper.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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')