pos支付bug
This commit is contained in:
parent
6c4bfeaac4
commit
998109913b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user