Эх сурвалжийг харах

计量上报保存附件key重复

DengLinLang 1 сар өмнө
parent
commit
7c48aecfae

+ 1 - 1
blade-service/blade-meter/src/main/java/org/springblade/meter/controller/TaskController.java

@@ -291,7 +291,7 @@ public class TaskController extends BladeController {
                         attachmentFormTask.setTaskId(taskId);
                     }
                     /*复制计量中间件的附件信息VO*/
-                    attachmentFormServiceTask.saveBatch(attachmentFormTasks, 1000);
+                    attachmentFormServiceTask.saveOrUpdateBatch(attachmentFormTasks, 1000);
 
                     /*构造创建审批任务*/
                     Set<String> aopParamsSet = new HashSet<>();