From 6bb79064a8d717e191ceda7cb2dc1549d3613691 Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期二, 26 八月 2025 13:58:03 +0800 Subject: [PATCH] purchase添加类型 以及新增字典查询方法 --- main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java b/main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java index 7786086..b4dcdb8 100644 --- a/main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java +++ b/main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java @@ -4,7 +4,12 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.business.dto.SalesRecordDto; +import com.ruoyi.business.dto.YearlyQueryDto; import com.ruoyi.business.entity.SalesRecord; +import jakarta.servlet.http.HttpServletResponse; +import jakarta.validation.Valid; + +import java.util.Map; /** * <p> @@ -21,4 +26,10 @@ int addOrEditSalesRecord(SalesRecordDto salesRecordDto); int delByIds(Long[] ids); + + Map<String, Object> selectAllInfo(); + + Map<String, Object> getYearlyMonthlySales(@Valid YearlyQueryDto query); + + void salesRecordExport(HttpServletResponse response, SalesRecordDto salesRecordDto); } -- Gitblit v1.9.3