wurui преди 2 седмици
родител
ревизия
5935fea9b5
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      orbit-base-biz/base-biz-service/src/main/java/com/base/biz/service/TargetDemandService.java

+ 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());