Hentua
2023-06-10 72e7d01b5b249ae1a079d19cdc62ecd2782c325c
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);
            }
        }