Parcourir la source

频次默认为1

wurui il y a 2 semaines
Parent
commit
5935fea9b5

+ 3 - 0
orbit-base-biz/base-biz-service/src/main/java/com/base/biz/service/TargetDemandService.java

@@ -659,6 +659,9 @@ public class TargetDemandService extends ServiceImpl<TargetDemandMapper, TargetD
             relation.setId(UUID.randomUUID().toString());
             relation.setTargetId(sceneBasisTarget.getId());
 
+            //频次默认为1
+            relation.setRate(1);
+
             relation.setReqName(sceneBasisTarget.getTargetName());
             relation.setTargetId(sceneBasisTarget.getId());