Commit 6dfef862 by 宋祥

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

parent be633ec1
...@@ -184,13 +184,14 @@ ...@@ -184,13 +184,14 @@
t2.group_cname as "text", t2.group_cname as "text",
0 as "leaf", 0 as "leaf",
t2.group_type as "isManagerGroup" 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 WHERE
t1.member_id = t2.ID t1.member_id = t2.ID
AND t1.parent_id = #parentId# AND t1.parent_id = #parentId#
AND t2.group_ename != 'ADMIN' AND t2.group_ename != 'ADMIN'
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="accountCode">
t2.company_code = #companyCode# t2.account_code = #accountCode#
</isNotEmpty> </isNotEmpty>
<dynamic prepend="ORDER BY"> <dynamic prepend="ORDER BY">
<isNotEmpty property="orderBy"> <isNotEmpty property="orderBy">
...@@ -333,8 +334,8 @@ ...@@ -333,8 +334,8 @@
<isNotEmpty prepend=" AND " property="loginName"> <isNotEmpty prepend=" AND " property="loginName">
id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>) id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>)
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="accountCode">
company_code = #companyCode# account_code = #accountCode#
</isNotEmpty> </isNotEmpty>
</select> </select>
...@@ -361,8 +362,8 @@ ...@@ -361,8 +362,8 @@
<isNotEmpty prepend=" AND " property="loginName"> <isNotEmpty prepend=" AND " property="loginName">
id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>) id in (<include refid="getAllManagerGroupsByLoginNameDetail"/>)
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="accountCode">
company_code = #companyCode# account_code = #accountCode#
</isNotEmpty> </isNotEmpty>
</select> </select>
...@@ -387,8 +388,8 @@ ...@@ -387,8 +388,8 @@
<isNotEmpty prepend=" AND " property="loginName"> <isNotEmpty prepend=" AND " property="loginName">
login_name like ('%$loginName$%') login_name like ('%$loginName$%')
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="accountCode">
company_code = #companyCode# account_code = #accountCode#
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="sqlCondition"> <isNotEmpty prepend=" AND " property="sqlCondition">
( USER_GROUP_ENAME $sqlCondition$ or USER_GROUP_ENAME is null ) ( 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