## 手动开通V1V2单独判断升级;
This commit is contained in:
parent
bfe200735d
commit
e95eb1e448
|
@ -2657,6 +2657,13 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
|
||||||
// 计算等级
|
// 计算等级
|
||||||
bdGrade = this.getGradeByBox(boxNum + baseBoxNum, gradeList, memberGrade, true);
|
bdGrade = this.getGradeByBox(boxNum + baseBoxNum, gradeList, memberGrade, true);
|
||||||
|
|
||||||
|
if (bdGrade.getGradeValue().equals(memberGrade.getGradeValue())
|
||||||
|
&& (EGrade.HAI_FAN.getValue() == bdGrade.getGradeValue() || EGrade.YOU_KE.getValue() == bdGrade.getGradeValue())
|
||||||
|
) {
|
||||||
|
// 旧等级与新等级相同 并且 旧等级为V1或V2
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// 特殊等级处理
|
// 特殊等级处理
|
||||||
BdGrade tmpGrade = this.handleGradeEnd(gradeList, bdGrade);
|
BdGrade tmpGrade = this.handleGradeEnd(gradeList, bdGrade);
|
||||||
if (null != isPay && EYesNo.YES.getIntValue() == isPay) {
|
if (null != isPay && EYesNo.YES.getIntValue() == isPay) {
|
||||||
|
|
Loading…
Reference in New Issue