pos支付bug

This commit is contained in:
齐天大圣 2024-06-04 14:27:23 +08:00
parent 6c4bfeaac4
commit 998109913b

View File

@ -1410,7 +1410,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
addGrowthVal = addVal; addGrowthVal = addVal;
growthAfter = growth + 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()) { if (growthAfter < records.get(i).getGrowthValue()) {
balance.setGradeId(records.get(i - 1).getId()); balance.setGradeId(records.get(i - 1).getId());
break; break;