Explorar o código

feature 代码提交

xiahan hai 1 ano
pai
achega
9f77ed0f13

+ 4 - 1
cx-aps/cx-aps-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ApsProcessOperationProcessEquServiceImpl.java

@@ -427,7 +427,10 @@ public class ApsProcessOperationProcessEquServiceImpl extends ServiceImpl<ApsPro
             // 删除工序作业备份
             ApsUtils.clearBackup(currentUser);
         }
-        this.saveOrUpdateBatch(saveList);
+        if(!saveList.isEmpty()){
+            this.saveOrUpdateBatch(saveList);
+        }
+
 
         // 重新获取甘特图数据并返回前段
         return R.ok(ganttService.getListById(affectedIdList));