he2802 2 jaren geleden
bovenliggende
commit
35ac9d9539

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

@@ -769,6 +769,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
         if (Validator.isEmpty(userVo.getClassStatus()) || userVo.getClassStatus() != 1) {
             return "未开班";
         }
+        if (Validator.isNotEmpty(userVo.getPeriodPlush())&&userVo.getPeriodPlush()==1) {
+            return "该用户已推送过";
+        }
         if (Validator.isNotEmpty(userVo.getClassStartTime())) {
             long nowTime = System.currentTimeMillis() / 1000;
             if (userVo.getClassStartTime().longValue() > nowTime) {