Commit 6dfef862 by 宋祥

1.企业管理调整为账户account_code

parent be633ec1
......@@ -184,13 +184,14 @@
t2.group_cname as "text",
0 as "leaf",
t2.group_type as "isManagerGroup"
FROM ${platSchema}.XS_USER_GROUP_MEMBER t1,${platSchema}.XS_USER_GROUP t2
FROM ${platSchema}.XS_USER_GROUP_MEMBER t1,
${platSchema}.XS_USER_GROUP t2
WHERE
t1.member_id = t2.ID
AND t1.parent_id = #parentId#
AND t2.group_ename != 'ADMIN'
<isNotEmpty prepend=" AND " property="companyCode">
t2.company_code = #companyCode#
<isNotEmpty prepend=" AND " property="accountCode">
t2.account_code = #accountCode#
</isNotEmpty>
<dynamic prepend="ORDER BY">
<isNotEmpty property="orderBy">
......@@ -333,8 +334,8 @@
<isNotEmpty prepend=" AND " property="loginName">
id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>)
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
company_code = #companyCode#
<isNotEmpty prepend=" AND " property="accountCode">
account_code = #accountCode#
</isNotEmpty>
</select>
......@@ -361,8 +362,8 @@
<isNotEmpty prepend=" AND " property="loginName">
id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>)
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
company_code = #companyCode#
<isNotEmpty prepend=" AND " property="accountCode">
account_code = #accountCode#
</isNotEmpty>
</select>
......@@ -387,8 +388,8 @@
<isNotEmpty prepend=" AND " property="loginName">
login_name like ('%$loginName$%')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
company_code = #companyCode#
<isNotEmpty prepend=" AND " property="accountCode">
account_code = #accountCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="sqlCondition">
( USER_GROUP_ENAME $sqlCondition$ or USER_GROUP_ENAME is null )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment