|
@@ -62,6 +62,9 @@
|
|
|
<if test="subjectId != null">
|
|
|
and find_in_set(#{subjectId},sni.subject_id_list_)
|
|
|
</if>
|
|
|
+ <if test="organId != null">
|
|
|
+ and (find_in_set(#{organId},sni.organ_id_list_) or sni.organ_id_list_ is null)
|
|
|
+ </if>
|
|
|
<if test="organIdList != null">
|
|
|
and INTE_ARRAY(#{organIdList},sni.organ_id_list_)
|
|
|
</if>
|