|
@@ -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>
|