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 | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java b/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java index f18de3d..32910ce 100644 --- a/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java +++ b/src/main/java/com/ruoyi/warehouse/service/DocumentationService.java @@ -8,6 +8,7 @@ import javax.servlet.http.HttpServletResponse; import java.util.List; +import java.util.Map; /** * @author 86151 @@ -16,9 +17,24 @@ */ public interface DocumentationService extends IService<Documentation> { - List<DocumentationDto> listPage(Page page, Documentation documentation); + IPage<DocumentationDto> listPage(Page page, Documentation documentation); 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