From d4d757f2d1a32deecb5e13111d6e753dfa18a58e Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期一, 08 九月 2025 14:49:05 +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