Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
Hgs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐州
Hgs
Commits
fef106f1
Commit
fef106f1
authored
May 30, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改线上环境数据库参数
parent
5120915f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
User.xml
...e365-hgs-ws/src/main/resources/production/ibatis/User.xml
+1
-0
UserMapper.xml
...s-ws/src/main/resources/production/mybatis/UserMapper.xml
+6
-2
No files found.
house365-hgs-ws/src/main/resources/production/ibatis/User.xml
View file @
fef106f1
...
...
@@ -53,6 +53,7 @@
<result
property=
"wxCodeImgUrl"
column=
"wx_code_imgUrl"
/>
<result
property=
"promoteId"
column=
"promote_id"
/>
<result
property=
"onlineStatus"
column=
"online_status"
/>
<result
property=
"showMobile"
column=
"showMobile"
/>
</resultMap>
<!-- 用于select查询公用抽取的列 -->
...
...
house365-hgs-ws/src/main/resources/production/mybatis/UserMapper.xml
View file @
fef106f1
...
...
@@ -47,6 +47,7 @@
<result
property=
"wxCodeImgUrl"
column=
"wx_code_imgUrl"
/>
<result
property=
"promoteId"
column=
"promote_id"
/>
<result
property=
"onlineStatus"
column=
"online_status"
/>
<result
property=
"showMobile"
column=
"showMobile"
/>
</resultMap>
<resultMap
id=
"infoMap2"
type=
"com.house365.beans.entity.UserSimpleEntity"
>
...
...
@@ -91,7 +92,7 @@
SELECT id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl
,showMobile
FROM user
where id = #{id} AND enabled = 1
</select>
...
...
@@ -150,6 +151,9 @@
<if
test=
"deptId != null and deptId >= 0 "
>
AND deptId = #{deptId}
</if>
<if
test=
"showMobile != null and showMobile >= 0"
>
AND showMobile = #{showMobile}
</if>
<if
test=
"deptIdList != null and deptIdList.size() > 0 "
>
AND deptId in
<foreach
collection=
"deptIdList"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
...
...
@@ -227,7 +231,7 @@
select id, name,realName, password, weiXinId, mediaId, mobile, cornet, deptId, deptUrlPath, position, gender,
email, extattr, status, enabled, createUserid, createUsername, createTime, createIp, updateUserid,
updateUsername, updateTime, updateIp, preLoginTime, lastLoginTime, hotlinephone, goodat,
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin
,showMobile
from user where name = #{name}
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment