From 3af951146aabb69d7857daf11a4bdef21c7ef77e Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期三, 22 五月 2024 09:54:29 +0800 Subject: [PATCH] 功能调整 --- data-server/src/main/java/com/yuanchu/mom/mapper/DataReportingMapper.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/data-server/src/main/java/com/yuanchu/mom/mapper/DataReportingMapper.java b/data-server/src/main/java/com/yuanchu/mom/mapper/DataReportingMapper.java index 88a955f..37523cb 100644 --- a/data-server/src/main/java/com/yuanchu/mom/mapper/DataReportingMapper.java +++ b/data-server/src/main/java/com/yuanchu/mom/mapper/DataReportingMapper.java @@ -2,11 +2,14 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.yuanchu.mom.dto.DataComparisonDto; 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.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Param; import java.math.BigDecimal; import java.util.List; @@ -24,7 +27,7 @@ IPage<ProductCountDto> selectProductCountDtoPageList(IPage<ProductCountDto> page, QueryWrapper<ProductCountDto> ew); - IPage<RegistrantCountDto> selectRegistrantCountDtoPageList(IPage<RegistrantCountDto> page, QueryWrapper<RegistrantCountDto> ew); + IPage<RegistrantCountDto> selectRegistrantCountDtoPageList(IPage<RegistrantCountDto> page, QueryWrapper<RegistrantCountDto> ew, String startTime, String endTime); Map<String, BigDecimal> getDataFor1(); @@ -38,6 +41,15 @@ Map<String, String> selectUser(Integer userId); + IPage<DataComparisonDto> selectDataComparisonDtoPageList(Page page, DataComparisonDto dataComparisonDto); + + List<String> selectDataReportingForCreateUserNames(String time); + + List<String> selectDataReportingForProduct(String time); + + String getUserNameById(Integer id); + + String getUserDepartmentById(Integer id); } -- Gitblit v1.9.3