Browse Source

Merge remote-tracking branch 'origin/ywx' into wn

tags/正式3.13.0
王宁 1 year ago
parent
commit
0ba83da804

+ 1
- 1
sstudy/src/main/java/com/xhkjedu/sstudy/service/recite/ReciteService.java View File

@@ -195,7 +195,7 @@ public class ReciteService {
195 195
             Integer hashb = Integer.parseInt(map.get("hashb").toString());
196 196
             Integer schoolid = Integer.parseInt(map.get("schoolid").toString());
197 197
             String classidStr = "";
198
-            if (recite.getCreateid().equals(map.get("createid"))) {//自己发布的看所有班级
198
+            if (recite.getCreateid().equals(map.get("createid")) || usertype.equals(0)) {//管理员或自己发布的看所有班级
199 199
                 List<Map> commitList = reciteStus.stream().filter(s -> Integer.parseInt(s.get("rsstate").toString()) > 0).collect(Collectors.toList());
200 200
                 map.put("stunum",reciteStus.size());
201 201
                 map.put("commitnum",commitList.size());

Loading…
Cancel
Save