收款bug
This commit is contained in:
parent
1f9f076cc1
commit
6c4bfeaac4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user