Commit 5921dcfbb084f8a9faee82b7b27fa916419c4ed8
1 parent
c54684dc13
Exists in
master
and in
8 other branches
add statistics(map) common index
Showing 1 changed file with 4 additions and 4 deletions
platform-biz-service/src/main/resources/mainOrm/Users.xml
View file @
5921dcf
... | ... | @@ -107,12 +107,12 @@ |
107 | 107 | |
108 | 108 | |
109 | 109 | <select id="getUsers" resultMap="UsersResultMap" parameterType="java.lang.Integer"> |
110 | -select id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,yn,enable,modified,created,remarks,last_login_time, ks_id,foreign_id,other_account | |
110 | +select id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,yn,enable,modified,created,remarks,last_login_time, ks_id,foreign_id,other_account,zhiChenId | |
111 | 111 | from users where id = #{id,jdbcType=INTEGER} |
112 | 112 | </select> |
113 | 113 | |
114 | 114 | <select id="getUsersByLoginCenterId" resultMap="UsersResultMap" parameterType="java.lang.Integer"> |
115 | - select id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,yn,enable,modified,created,remarks,last_login_time, ks_id,foreign_id,other_account | |
115 | + select id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,yn,enable,modified,created,remarks,last_login_time, ks_id,foreign_id,other_account,zhiChenId | |
116 | 116 | from users where logincenter_id = #{id,jdbcType=INTEGER} and enable =1 order by last_login_time desc |
117 | 117 | </select> |
118 | 118 | |
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | <select id="queryUsers" resultMap="UsersResultMap" parameterType="com.lyms.platform.permission.model.UsersQuery"> |
198 | 198 | select |
199 | 199 | id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,yn,enable,modified,created,remarks,last_login_time, |
200 | - ks_id,foreign_id,other_account | |
200 | + ks_id,foreign_id,other_account,zhiChenId | |
201 | 201 | from users |
202 | 202 | <include refid="UsersCondition"/> |
203 | 203 | <include refid="orderAndLimit"/> |
... | ... | @@ -207,7 +207,7 @@ |
207 | 207 | <select id="queryUsers2" resultMap="UsersResultMap" parameterType="com.lyms.platform.permission.model.UsersQuery"> |
208 | 208 | select DISTINCT u.id |
209 | 209 | id,logincenter_id,type,org_id,dept_id,name,account,pwd,phone,publish_id,publish_name,u.yn,enable,modified,created,remarks,last_login_time, |
210 | - ks_id,foreign_id,other_account | |
210 | + ks_id,foreign_id,other_account,zhiChenId | |
211 | 211 | from users u LEFT JOIN user_role_maps ur |
212 | 212 | on u.id = ur.user_id |
213 | 213 | where 1=1 |