From 998109913b4bc47821aeb4e1a6e5d442df853c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Tue, 4 Jun 2024 14:27:23 +0800 Subject: [PATCH] =?UTF-8?q?pos=E6=94=AF=E4=BB=98bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fuint/business/order/service/impl/OilOrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java index d27693ea4..a75b4751b 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java @@ -1410,7 +1410,7 @@ public class OilOrderServiceImpl extends ServiceImpl 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;