瀏覽代碼

代码优化,及部分功能调整

lideyin 5 年之前
父節點
當前提交
34ede4a3d5

+ 4 - 0
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/impl/NoticeServiceImpl.java

@@ -268,13 +268,17 @@ public class NoticeServiceImpl implements NoticeService {
 
         List<NoticeReceiverRuleEntity> currentRuleList = getReceiverRuleList(rootOrgId, noticeId);
 
+        //获取指定数量的用户id
         GetLimitUserIdResp getLimitUserIdResp = getSpecifiedUserIdList(rootOrgId, rowNumber,
                 startUserId, ruleType, currentRuleList);
 
         // 满足条件的用户id集合(可能为空)
         List<Long> limitStudentIdList = getLimitUserIdResp.getIdList();
+
+        //保存用户通知关系表数据,并更新通知的发布进度
         saveUserNoticeAndUpdateRulePublishProgress(rootOrgId, noticeId, ruleType, ruleProgress,
                 limitStudentIdList, getLimitUserIdResp.getMaxId());
+
         return getLimitUserIdResp.getNextId();
 
     }