Browse Source

资源列表搜索完善

tags/正式3.10.0
雍文秀 1 year ago
parent
commit
56e4abd950
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sstudy/src/main/resources/mapper/resource/ResourceMapper.xml

+ 1
- 1
sstudy/src/main/resources/mapper/resource/ResourceMapper.xml View File

23
         <if test="resource.belong==0">
23
         <if test="resource.belong==0">
24
             and (r.belong in(1,2)
24
             and (r.belong in(1,2)
25
             <if test="resource.schoolid!=null">
25
             <if test="resource.schoolid!=null">
26
-                or (r.belong=3 and r.schoolid=#{resource.schoolid})
26
+                or (r.belong in(3,10) and r.schoolid=#{resource.schoolid})
27
             </if>
27
             </if>
28
             <if test="resource.createid!=null">
28
             <if test="resource.createid!=null">
29
                 or (r.belong=4 and r.createid=#{resource.createid})
29
                 or (r.belong=4 and r.createid=#{resource.createid})

Loading…
Cancel
Save