From 1a376098d2e27eeb9c2af90fa501311c2035d5ab Mon Sep 17 00:00:00 2001 From: buhuazhen <hua100783@gmail.com> Date: 星期三, 27 八月 2025 14:30:41 +0800 Subject: [PATCH] :zap: 对于前端修改 采购和应付 --- main-business/src/main/java/com/ruoyi/business/service/SalesRecordService.java | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 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 8440766..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 @@ -2,9 +2,14 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.ruoyi.business.dto.SalesRecordDto; -import com.ruoyi.business.entity.SalesRecord; 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> @@ -16,9 +21,15 @@ */ public interface SalesRecordService extends IService<SalesRecord> { - IPage<SalesRecord> selectSalesRecordList(Page page, SalesRecordDto salesRecordDto); + IPage<SalesRecordDto> selectSalesRecordList(Page<SalesRecord> page, SalesRecordDto salesRecordDto); 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