From 8f4db901aa772a808c243f8a4e39522f6f09d5da Mon Sep 17 00:00:00 2001 From: yaowanxin <3588231647@qq.com> Date: 星期四, 21 八月 2025 13:10:22 +0800 Subject: [PATCH] 修改完善3 --- src/main/java/com/ruoyi/warehouse/service/DocumentationService.java | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java b/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java index 4583482..32910ce 100644 --- a/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java +++ b/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java @@ -2,10 +2,13 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.ruoyi.warehouse.dto.DocumentationDto; import com.ruoyi.warehouse.pojo.Documentation; import com.baomidou.mybatisplus.extension.service.IService; import javax.servlet.http.HttpServletResponse; +import java.util.List; +import java.util.Map; /** * @author 86151 @@ -14,8 +17,24 @@ */ public interface DocumentationService extends IService<Documentation> { - IPage<Documentation> listPage(Page page, Documentation documentation); + IPage<DocumentationDto> listPage(Page page, Documentation documentation); - void export(HttpServletResponse response); + void export(HttpServletResponse response,Documentation documentation); + boolean deleteByIds(List<Long> ids); + + List<DocumentationDto> listAll(); + Integer getTotalDocsCount(); + + Integer getCategoryNumCount(); + + Integer getBorrowedDocsCount(); + + Integer getMonthlyAddedDocsCount(); + + + List<Map<String, Object>> getCategoryDistribution(); + + + List<Map<String, Object>> getStatusDistribution(); } -- Gitblit v1.9.3