|
@@ -176,7 +176,8 @@
|
|
|
<if test="organId!=null">
|
|
|
AND su.organ_id_=#{organId}
|
|
|
and (find_in_set(#{organId},JSON_UNQUOTE(json_extract(sc.use_condition_,'$.organId')))
|
|
|
- or JSON_UNQUOTE(json_extract(sc.use_condition_,'$.organId')) is null)
|
|
|
+ or JSON_UNQUOTE(json_extract(sc.use_condition_,'$.organId')) is null
|
|
|
+ or JSON_UNQUOTE(json_extract(sc.use_condition_,'$.organId')) = "")
|
|
|
</if>
|
|
|
<if test="search!=null and search!=''">
|
|
|
AND (scc.user_id_=#{search} OR su.phone_=#{search} OR su.username_ LIKE CONCAT('%', #{search}, '%'))
|