Hentua
2023-06-15 7f55c18d7db36c9cad2ac96e481680bc1107e51c
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);
            }
        }