Bladeren bron

需求明添加

wurui 1 maand geleden
bovenliggende
commit
408b0b125f

+ 2 - 1
orbit-base-biz/base-biz-service/src/main/java/com/base/biz/service/TargetDemandService.java

@@ -89,7 +89,8 @@ public class TargetDemandService extends ServiceImpl<TargetDemandMapper, TargetD
             return false;
         }
         List<TargetDemand> relations = getTargetRelations(request, targets, request.stream().map(QueryTargetRelationAddDTO::getParentId).collect(Collectors.toList()));
-        targetDemandMapper.batch(relations);
+        this.saveBatch(relations);
+        /*targetDemandMapper.batch(relations);*/
         return true;
     }