From 6da57b610d97be3f79084d43440e7823d707b249 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期四, 04 九月 2025 17:54:55 +0800 Subject: [PATCH] 设备管理调整 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamEquipmentController.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamEquipmentController.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamEquipmentController.java index f0615fc..d8b6287 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamEquipmentController.java +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamEquipmentController.java @@ -18,6 +18,7 @@ import org.jeecg.modules.eam.entity.EamEquipment; import org.jeecg.modules.eam.entity.EamEquipmentExtend; import org.jeecg.modules.eam.request.EamEquipmentQuery; +import org.jeecg.modules.eam.dto.EquipmentCategoryStatistics; import org.jeecg.modules.eam.service.IEamEquipmentExtendService; import org.jeecg.modules.eam.service.IEamEquipmentService; import org.jeecg.modules.eam.vo.EamEquipmentTree; @@ -85,6 +86,29 @@ } /** + * 璁惧鍙拌处-鍙拌处缁熻 + * + * @return + */ +// @AutoLog(value = "璁惧鍙拌处-鍒嗛〉鍒楄〃鏌ヨ") + @ApiOperation(value = "璁惧鍙拌处-鍙拌处缁熻", notes = "璁惧鍙拌处-鍙拌处缁熻") + @GetMapping(value = "/queryLedgerStatistics") + public Result<?> queryLedgerStatistics() { + List<EquipmentCategoryStatistics> list = eamEquipmentService.queryLedgerStatistics(); + return Result.OK(list); + } + + /** + * 瀵煎嚭鍙拌处缁熻excel + * + * @param request + */ + @RequestMapping(value = "/exportLedgerStatisticsXls") + public ModelAndView exportLedgerStatisticsXls(HttpServletRequest request) { + return eamEquipmentService.exportLedgerStatisticsXls(request, EquipmentCategoryStatistics.class, "鍙拌处缁熻"); + } + + /** * 娣诲姞 * * @param eamEquipment -- Gitblit v1.9.3