Browse Source

回避规则增加回避类型

tags/24080901
WendyYang 1 year ago
parent
commit
e2dde98da4
2 changed files with 1 additions and 2 deletions
  1. +0
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/vo/InviteRuleDetailVO.java
  2. +1
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/meeting/service/impl/ExpertInviteAvoidRuleServiceImpl.java

+ 0
- 2
pmapi/src/main/java/com/ningdatech/pmapi/meeting/entity/vo/InviteRuleDetailVO.java View File

@@ -16,8 +16,6 @@ import java.util.List;
@Data @Data
public class InviteRuleDetailVO { public class InviteRuleDetailVO {


private Integer inviteType;

@ApiModelProperty("随机邀请规则") @ApiModelProperty("随机邀请规则")
private List<RandomInviteRuleVO> randomRules; private List<RandomInviteRuleVO> randomRules;




+ 1
- 0
pmapi/src/main/java/com/ningdatech/pmapi/meeting/service/impl/ExpertInviteAvoidRuleServiceImpl.java View File

@@ -40,6 +40,7 @@ public class ExpertInviteAvoidRuleServiceImpl extends ServiceImpl<ExpertInviteAv
avoidInfo.setAvoidUnitIdList(StrUtils.split(avoidRule.getAvoidUnitIds())); avoidInfo.setAvoidUnitIdList(StrUtils.split(avoidRule.getAvoidUnitIds()));
avoidInfo.setExpertIds(BizUtils.splitToLong(avoidRule.getAvoidExpertIds())); avoidInfo.setExpertIds(BizUtils.splitToLong(avoidRule.getAvoidExpertIds()));
avoidInfo.setWeekInviteCount(avoidRule.getWeekInviteCount()); avoidInfo.setWeekInviteCount(avoidRule.getWeekInviteCount());
avoidInfo.setAvoidType(avoidRule.getAvoidType());
return avoidInfo; return avoidInfo;
} }




Loading…
Cancel
Save