Explorar el Código

获取通知科目和班级完善

tags/正式3.14.1
雍文秀 hace 3 meses
padre
commit
9ea84cf8bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      sapi/src/main/resources/mapper/notice/NoticeUserMapper.xml

+ 1
- 1
sapi/src/main/resources/mapper/notice/NoticeUserMapper.xml Ver fichero

@@ -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…
Cancelar
Guardar