|
@@ -181,7 +181,7 @@
|
181
|
181
|
,r.resourcegrade,r.source,r.year,r.region,r.schoolname,r.belong
|
182
|
182
|
from t_resource r left join t_user u on u.userid=r.createid
|
183
|
183
|
left join t_resource_director rd on r.resourceid=rd.resourceid
|
184
|
|
- where r.resourcestate=1 and (r.belong in(1,2) or (r.belong=3 and r.schoolid=#{resource.schoolid}))
|
|
184
|
+ where r.resourcestate=1 and (r.belong in(1,2) or (r.belong in(3,10) and r.schoolid=#{resource.schoolid}))
|
185
|
185
|
and r.level=4 and r.subjectid=#{resource.subjectid}
|
186
|
186
|
<if test="resource.lsbid!=null and resource.lsbid!='0'.toString() and resource.lsbid!=''">
|
187
|
187
|
and rd.lsbid=#{resource.lsbid}
|
|
@@ -235,7 +235,7 @@
|
235
|
235
|
,r.resourcegrade,r.source,r.year,r.region,r.schoolname,r.converted,r.belong
|
236
|
236
|
from t_resource r left join t_user u on u.userid=r.createid
|
237
|
237
|
left join t_resource_director rd on r.resourceid=rd.resourceid
|
238
|
|
- where r.resourcestate=1 and (r.belong in(1,2) or (r.belong=3 and r.schoolid=#{resource.schoolid}))
|
|
238
|
+ where r.resourcestate=1 and (r.belong in(1,2) or (r.belong in(3,10) and r.schoolid=#{resource.schoolid}))
|
239
|
239
|
and r.level=4
|
240
|
240
|
<if test="resource.subjectid!=null and resource.subjectid!='0'.toString() and resource.subjectid!=''">
|
241
|
241
|
and r.subjectid=#{resource.subjectid}
|