diff --git a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml index 47bbc37..09aad97 100644 --- a/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/BroadDataMapper.xml @@ -765,6 +765,17 @@ from ( group by QUALITY_DEFECTS_DESC, ITEM_CODE order by count(1) desc) where ROWNUM < 4 + union + select * + from ( + select count(1) as qty, + QUALITY_DEFECTS_DESC as name, + '柱状图' as code + from IMOS_QA_PRODUCT_QUALITY + where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(SYSDATE, 'yyyy-MM-dd') + group by QUALITY_DEFECTS_DESC, ITEM_CODE + order by count(1) desc) + where ROWNUM < 11