收款bug

This commit is contained in:
齐天大圣 2024-06-04 11:50:41 +08:00
parent 1f9f076cc1
commit 6c4bfeaac4

View File

@ -1953,7 +1953,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
addGrowthVal = addVal;
growthAfter = growth + addVal;
// 如果会员成长值达到会员等级成长值则修改会员的会员等级信息
for (int i = 0; i < records.size(); i++) {
for (int i = 1; i < records.size(); i++) {
if (growthAfter < records.get(i).getGrowthValue()) {
balance.setGradeId(records.get(i - 1).getId());
break;