From 6c7f3a2e780f45e57bb341a5faedac932928a10e Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期四, 23 四月 2026 16:33:16 +0800
Subject: [PATCH] feat(process): 添加工艺路线单位数量默认值设置

---
 src/main/java/com/ruoyi/other/controller/TempFileController.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/other/controller/TempFileController.java b/src/main/java/com/ruoyi/other/controller/TempFileController.java
index 810c532..1175eb0 100644
--- a/src/main/java/com/ruoyi/other/controller/TempFileController.java
+++ b/src/main/java/com/ruoyi/other/controller/TempFileController.java
@@ -33,6 +33,15 @@
         }
     }
 
+    @PostMapping("/uploadByCommon")
+    public AjaxResult uploadByCommon(MultipartFile file, Integer type, Long id) {
+        try {
+            return AjaxResult.success(tempFileService.uploadByCommon(file, type,id));
+        } catch (Exception e) {
+            return AjaxResult.error(e.getMessage());
+        }
+    }
+
     @PostMapping("uploadFile")
     public AjaxResult uploadFile(@RequestBody ProductRecordDto productRecordDto) {
         try {

--
Gitblit v1.9.3