From 997b721ad8c8026d733c5ba953c462d268560d57 Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期一, 25 十二月 2023 01:45:40 +0800
Subject: [PATCH] 第一阶段

---
 data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java b/data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java
index afd5c7d..508dd54 100644
--- a/data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java
+++ b/data-server/src/main/java/com/yuanchu/mom/service/impl/DataReportingServiceImpl.java
@@ -4,6 +4,8 @@
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.yuanchu.mom.common.PrintChina;
 import com.yuanchu.mom.dto.DataReportingPageDto;
+import com.yuanchu.mom.dto.ProductCountDto;
+import com.yuanchu.mom.dto.RegistrantCountDto;
 import com.yuanchu.mom.pojo.DataReporting;
 import com.yuanchu.mom.service.DataReportingService;
 import com.yuanchu.mom.mapper.DataReportingMapper;
@@ -49,6 +51,22 @@
         System.out.println(dataReporting2);
         return dataReportingMapper.updateById(dataReporting2);
     }
+
+    @Override
+    public Map<String, Object> selectProductCountDtoPageList(IPage<ProductCountDto> page, ProductCountDto productCountDto) {
+        Map<String, Object> map = new HashMap<>();
+        map.put("head", PrintChina.printChina(ProductCountDto.class));
+        map.put("body", dataReportingMapper.selectProductCountDtoPageList(page, QueryWrappers.queryWrappers(productCountDto)));
+        return map;
+    }
+
+    @Override
+    public Map<String, Object> selectRegistrantCountDtoPageList(IPage<RegistrantCountDto> page, RegistrantCountDto registrantCountDto) {
+        Map<String, Object> map = new HashMap<>();
+        map.put("head", PrintChina.printChina(RegistrantCountDto.class));
+        map.put("body", dataReportingMapper.selectRegistrantCountDtoPageList(page, QueryWrappers.queryWrappers(registrantCountDto)));
+        return map;
+    }
 }
 
 

--
Gitblit v1.9.3