## 手动开通V1V2单独判断升级;

This commit is contained in:
cabbage 2025-06-25 17:58:19 +08:00
parent 03416320f4
commit 5202702654
1 changed files with 7 additions and 0 deletions

View File

@ -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) {