|
|
|
|
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})
|