From dc6551a581e06efb20d15a5e71d4d9b23ba26db7 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Tue, 29 Oct 2024 10:21:37 +0800 Subject: [PATCH] 10.29 --- .../src/views/convenienceStore/goodsSale.vue | 297 +++++++++++++++ .../views/convenienceStore/saleStatistic.vue | 345 ++++-------------- .../mapper/xml/SaleStatisticMapper.xml | 3 +- .../impl/SaleStatisticServiceImpl.java | 44 +-- .../convenienceSore/vo/SaleStatisticVo.java | 6 + 5 files changed, 401 insertions(+), 294 deletions(-) create mode 100644 fuintAdmin/src/views/convenienceStore/goodsSale.vue diff --git a/fuintAdmin/src/views/convenienceStore/goodsSale.vue b/fuintAdmin/src/views/convenienceStore/goodsSale.vue new file mode 100644 index 000000000..3d3d6d99c --- /dev/null +++ b/fuintAdmin/src/views/convenienceStore/goodsSale.vue @@ -0,0 +1,297 @@ + + + + + diff --git a/fuintAdmin/src/views/convenienceStore/saleStatistic.vue b/fuintAdmin/src/views/convenienceStore/saleStatistic.vue index 81eea1dfd..4c59fbd6a 100644 --- a/fuintAdmin/src/views/convenienceStore/saleStatistic.vue +++ b/fuintAdmin/src/views/convenienceStore/saleStatistic.vue @@ -1,291 +1,94 @@ - diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/SaleStatisticMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/SaleStatisticMapper.xml index 7adae0b2e..4577edeb3 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/SaleStatisticMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/convenienceSore/mapper/xml/SaleStatisticMapper.xml @@ -2,8 +2,9 @@ - select sa.*,mg.name,mg.goods_no,mg.pinyin_code,mg.unit from sale_statistic sa + select sa.*,mg.name,mg.goods_no,mg.pinyin_code,mg.unit,mg.goods_specs,cg.name pinLeiName from sale_statistic sa left join mt_goods mg on sa.goods_id = mg.id + left join cvs_goods cg on mg.cvs_good_id = cg.id