Hentua
2023-06-12 2f34848f649b7d29f7697f8fe13b5e93c543c19a
src/main/java/cc/mrbird/febs/mall/service/impl/ScoreServiceImpl.java
@@ -430,7 +430,8 @@
            int totalScore = hasSignTotalList.stream().mapToInt(MallScoreSignRecord::getScore).sum();
            if (totalScore + mallScoreSignRecord.getScore() > scoreSetting.getMostSignIn()) {
                throw new FebsException("达到当月积分上限");
//                throw new FebsException("达到当月积分上限");
                mallScoreSignRecord.setScore(scoreSetting.getMostSignIn() - totalScore);
            }
        }