From dec8951aae400e54f6ee83a8f95867dba9da8af1 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期五, 23 五月 2025 17:17:33 +0800 Subject: [PATCH] [钣金计划大表] 优化:焊缝统计导出Excel样式 --- aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlate/ApsPlatePlanController.java | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlate/ApsPlatePlanController.java b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlate/ApsPlatePlanController.java index 54ca6dd..b5e7c16 100644 --- a/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlate/ApsPlatePlanController.java +++ b/aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlate/ApsPlatePlanController.java @@ -238,29 +238,4 @@ } } - - /** - * 瀵煎叆Excel鏁版嵁 - * @param file - * @return - * @throws Exception - */ - @Operation(summary = "瀵煎叆宸ュ崟闇�姹傛棩鏈�", description = "瀵煎叆宸ュ崟闇�姹傛棩鏈�") - //@RequiresPermissions("apsPlatePlan:import") - @Log(title = "瀵煎叆宸ュ崟闇�姹傛棩鏈�", businessType = BusinessType.IMPORT) - @PostMapping("/importRequireDate") - public AjaxResult importRequireDate(MultipartFile file) throws Exception { - ExcelUtil<ApsPlateRequireDate> util = new ExcelUtil<ApsPlateRequireDate>(ApsPlateRequireDate.class); - List<ApsPlateRequireDate> plateRequireDateList = util.importExcel(file.getInputStream()); - if (!plateRequireDateList.isEmpty()) { - try { - apsPlateRequireDateService.batchSave(plateRequireDateList); - } catch (Exception e) { - throw new RuntimeException(e); - } - } else { - return AjaxResult.error("妯℃澘鍐呭涓虹┖"); - } - return AjaxResult.success("瀵煎叆鎴愬姛锛�"); - } } -- Gitblit v1.9.3