Browse Source

获取通知科目和班级完善

tags/正式3.14.1
雍文秀 3 months ago
parent
commit
9ea84cf8bf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sapi/src/main/resources/mapper/notice/NoticeUserMapper.xml

+ 1
- 1
sapi/src/main/resources/mapper/notice/NoticeUserMapper.xml View File

@@ -52,7 +52,7 @@
52 52
         select nu.gradeid,nu.classid,nu.subjectid
53 53
         ,if(nu.classid is not null,(select concat(c.classname,'_',c.classtype,'-',c.classorder) from t_class c where c.classid=nu.classid)
54 54
             ,(select concat(s.subjectname,'_',s.subjectorder) from t_subject s where s.subjectid=nu.subjectid))username
55
-        from t_notice_user nu where noticeid=#{noticeid}
55
+        from t_notice_user nu where noticeid=#{noticeid} and (nu.classid is not null or nu.subjectid is not null)
56 56
         group by nu.gradeid,nu.classid,nu.subjectid
57 57
     </select>
58 58
 </mapper>

Loading…
Cancel
Save