From ba11a11662a027e89f3e86d063b3234aeeb76d83 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 22 八月 2025 17:22:56 +0800 Subject: [PATCH] 设备管理首页 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamInspectionOrderController.java | 36 +++++++++++------------------------- 1 files changed, 11 insertions(+), 25 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamInspectionOrderController.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamInspectionOrderController.java index 7fd0901..65848e3 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamInspectionOrderController.java +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/EamInspectionOrderController.java @@ -19,6 +19,7 @@ import org.jeecg.modules.eam.constant.InspectionItemCategroyEnum; import org.jeecg.modules.eam.constant.InspectionStatus; import org.jeecg.modules.eam.constant.OrderCreationMethodEnum; +import org.jeecg.modules.eam.dto.EamInspectionOrderExport; import org.jeecg.modules.eam.entity.EamInspectionOrder; import org.jeecg.modules.eam.entity.EamInspectionOrderDetail; import org.jeecg.modules.eam.entity.EamMaintenanceStandardDetail; @@ -305,31 +306,6 @@ } /** - * 瀵煎嚭excel - * - * @param request - * @param eamInspectionOrder - */ - //@RequiresPermissions("org.jeecg.modules:鐐规宸ュ崟:exportXls") - @RequestMapping(value = "/exportXls") - public ModelAndView exportXls(HttpServletRequest request, EamInspectionOrder eamInspectionOrder) { - return super.exportXls(request, eamInspectionOrder, EamInspectionOrder.class, "鐐规宸ュ崟"); - } - - /** - * 閫氳繃excel瀵煎叆鏁版嵁 - * - * @param request - * @param response - * @return - */ - //@RequiresPermissions("鐐规宸ュ崟:importExcel") - @RequestMapping(value = "/importExcel", method = RequestMethod.POST) - public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) { - return super.importExcel(request, response, EamInspectionOrder.class); - } - - /** * 瀵煎嚭鑾峰彇鍩烘湰淇℃伅 * @param equipmentCode 缁熶竴缂栫爜 * @param inspectionDate 鏃ユ湡 @@ -389,4 +365,14 @@ return eamInspectionOrderService.exportWeekInsOrderDetailUserList(equipmentCode, inspectionDate); } + /** + * 鐢熶骇璁惧鑷富缁存姢鐐规琛ㄦ墦鍗� + * @param ids + * @return + */ + @ApiOperation(value = "鐢熶骇璁惧鑷富缁存姢鐐规琛ㄦ墦鍗�", notes = "鐢熶骇璁惧鑷富缁存姢鐐规琛ㄦ墦鍗�") + @GetMapping("/printInspectionOrder") + public Result<?> printInspectionOrder(String ids) { + return Result.ok(eamInspectionOrderService.printInspectionOrder(ids)); + } } -- Gitblit v1.9.3