From 25cc1b887f5421353d94c5e6be0fca56b3f2e668 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期三, 21 五月 2025 16:29:24 +0800
Subject: [PATCH] 优化Job
---
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