fix
Hentua
2023-05-23 a22eef2c7f5f9ec9d1ff4824b87e652cb6bb778d
src/main/java/cc/mrbird/febs/mall/service/impl/ScoreServiceImpl.java
@@ -427,7 +427,7 @@
        hasSignQuery.eq(MallScoreSignRecord::getMemberId, member.getId());
        List<MallScoreSignRecord> hasSignTotalList = mallScoreSignRecordMapper.selectList(hasSignQuery);
        if (CollUtil.isNotEmpty(hasSignTotalList)) {
            int totalScore = hasSignTotalList.stream().mapToInt(MallScoreSignRecord::getTotalCnt).sum();
            int totalScore = hasSignTotalList.stream().mapToInt(MallScoreSignRecord::getScore).sum();
            if (totalScore + mallScoreSignRecord.getScore() > scoreSetting.getMostSignIn()) {
                throw new FebsException("达到当月积分上限");