瀏覽代碼

资源列表搜索完善

tags/正式3.10.0
雍文秀 1 年之前
父節點
當前提交
56e4abd950
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      sstudy/src/main/resources/mapper/resource/ResourceMapper.xml

+ 1
- 1
sstudy/src/main/resources/mapper/resource/ResourceMapper.xml 查看文件

@@ -23,7 +23,7 @@
23 23
         <if test="resource.belong==0">
24 24
             and (r.belong in(1,2)
25 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 27
             </if>
28 28
             <if test="resource.createid!=null">
29 29
                 or (r.belong=4 and r.createid=#{resource.createid})

Loading…
取消
儲存