TASK:优化查询子账号design试用频次,根据管理员身份限定查询范围
This commit is contained in:
@@ -84,6 +84,9 @@
|
||||
a.system_user IN (0, 1, 2, 3, 4)
|
||||
</when>
|
||||
</choose>
|
||||
<if test="organizationName != null and organizationName != ''">
|
||||
AND a.organization_name = #{organizationName}
|
||||
</if>
|
||||
<if test="id != null">
|
||||
AND a.id = #{id}
|
||||
</if>
|
||||
@@ -126,6 +129,9 @@
|
||||
a.system_user IN (0, 1, 2, 3, 4)
|
||||
</when>
|
||||
</choose>
|
||||
<if test="organizationName != null and organizationName != ''">
|
||||
AND a.organization_name = #{organizationName}
|
||||
</if>
|
||||
<if test="userEmail != null and userEmail != ''">
|
||||
AND a.user_email = #{userEmail}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user