|
@ -205,16 +205,20 @@ public class PointRuleServiceImpl extends BaseServiceImpl<PointRuleDao, PointRul |
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getUpLimit(), f.getUpLimit()); |
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getUpLimit(), f.getUpLimit()); |
|
|
result.add(s); |
|
|
result.add(s); |
|
|
} |
|
|
} |
|
|
// 积分事件
|
|
|
|
|
|
if (!e.getRuleName().equals(f.getRuleName())){ |
|
|
|
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getRuleName(), f.getRuleName()); |
|
|
|
|
|
result.add(s); |
|
|
|
|
|
} |
|
|
|
|
|
// 积分说明
|
|
|
// 积分说明
|
|
|
if (!e.getRuleDesc().equals(f.getRuleDesc())){ |
|
|
if (!e.getRuleDesc().equals(f.getRuleDesc())){ |
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getRuleDesc(), f.getRuleDesc()); |
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getRuleDesc(), f.getRuleDesc()); |
|
|
result.add(s); |
|
|
result.add(s); |
|
|
} |
|
|
} |
|
|
|
|
|
// 规则启用
|
|
|
|
|
|
if(!e.getEnabledFlag().equals(f.getEnabledFlag())){ |
|
|
|
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getEnabledFlag(), f.getEnabledFlag()); |
|
|
|
|
|
} |
|
|
|
|
|
// 积分事件
|
|
|
|
|
|
if (!e.getRuleName().equals(f.getRuleName())){ |
|
|
|
|
|
String s = String.format(StrConstant.POINT_CHANGE, e.getRuleName(), e.getRuleName(), f.getRuleName()); |
|
|
|
|
|
result.add(s); |
|
|
|
|
|
} |
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|