<if test="query.platformCode != null and query.platformCode != ''"> | <if test="query.platformCode != null and query.platformCode != ''"> | ||||
and a.authority LIKE concat('%',#{query.platformCode},'%') | and a.authority LIKE concat('%',#{query.platformCode},'%') | ||||
</if> | </if> | ||||
AND u.tenant_id = a.create_user | |||||
and u.enabled =1 | |||||
AND a.user_id = u.id | |||||
AND u.enabled = 1 | |||||
GROUP BY u.username | GROUP BY u.username | ||||
</select> | </select> | ||||