Commit 71cddbcc by 谢海旭

v5.6.0版本 策略中心

1 parent 9157321c
......@@ -317,9 +317,9 @@ public class StrategyInfoService {
// 如果策略类型不是这三种,则不往下执行 0-学习类,1-优秀录音分享类,3-任务型
Integer strategyType = strategyInfo.getStrategyType();
if (strategyType != StrategyTypeEnum.LEARNING.getValue()
&& strategyType != StrategyTypeEnum.EXCELLENT_RECORDING_SHARE.getValue()
&& strategyType != StrategyTypeEnum.TASK.getValue()) {
if (!StrategyTypeEnum.LEARNING.getValue().equals(strategyType)
&& !StrategyTypeEnum.EXCELLENT_RECORDING_SHARE.getValue().equals(strategyType)
&& !StrategyTypeEnum.TASK.getValue().equals(strategyType)) {
log.warn("策略类型不是学习类、优秀录音分享类或任务型,策略ID: {}", strategyStaffRel.getStrategyId());
return;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!