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
e40892a9
Commit
e40892a9
authored
May 23, 2022
by
徐州
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据库字段
parent
ae495b19
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
19 deletions
+28
-19
User.xml
...365-hgs-ws/src/main/resources/development/ibatis/User.xml
+4
-4
UserMapper.xml
...-ws/src/main/resources/development/mybatis/UserMapper.xml
+4
-4
jdbc.properties
...src/main/resources/development/properties/jdbc.properties
+12
-3
User.xml
house365-hgs-ws/src/main/resources/test/ibatis/User.xml
+4
-4
UserMapper.xml
...365-hgs-ws/src/main/resources/test/mybatis/UserMapper.xml
+4
-4
No files found.
house365-hgs-ws/src/main/resources/development/ibatis/User.xml
View file @
e40892a9
...
...
@@ -53,7 +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=
"show
_m
obile"
/>
<result
property=
"showMobile"
column=
"show
M
obile"
/>
</resultMap>
<!-- 用于select查询公用抽取的列 -->
...
...
@@ -63,7 +63,7 @@
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,
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,show
_mobile AS show
Mobile
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,showMobile
]]>
</sql>
...
...
@@ -102,7 +102,7 @@
updateIp,
preLoginTime,
lastLoginTime,
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show
_m
obile
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show
M
obile
) VALUES (
#id#,
#name#,
...
...
@@ -350,7 +350,7 @@
</isNotEmpty>
<isNotEmpty
prepend=
","
property=
"showMobile"
>
<![CDATA[
show
_m
obile = #showMobile#
show
M
obile = #showMobile#
]]>
</isNotEmpty>
</dynamic>
...
...
house365-hgs-ws/src/main/resources/development/mybatis/UserMapper.xml
View file @
e40892a9
...
...
@@ -47,7 +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=
"show
_m
obile"
/>
<result
property=
"showMobile"
column=
"show
M
obile"
/>
</resultMap>
<resultMap
id=
"infoMap2"
type=
"com.house365.beans.entity.UserSimpleEntity"
>
...
...
@@ -92,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,show
_m
obile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,show
M
obile
FROM user
where id = #{id} AND enabled = 1
</select>
...
...
@@ -149,7 +149,7 @@
AND online_status = #{onlineStatus}
</if>
<if
test=
"showMobile != null and showMobile >= 0"
>
AND show
_m
obile = #{showMobile}
AND show
M
obile = #{showMobile}
</if>
<if
test=
"deptId != null and deptId >= 0 "
>
AND deptId = #{deptId}
...
...
@@ -231,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,show
_m
obile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,show
M
obile
from user where name = #{name}
</select>
...
...
house365-hgs-ws/src/main/resources/development/properties/jdbc.properties
View file @
e40892a9
#jdbc.url=jdbc:mysql://202.102.83.153:3306/house365-hgs?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#jdbc.url=jdbc:mysql://192.168.105.101:3306/house365-hgs-temp?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#?????
jdbc.url
=
jdbc:mysql://192.168.105.101:3306/house365_hgs_online?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
jdbc.username
=
root
jdbc.maxIdle
=
30
jdbc.minIdle
=
25
jdbc.password
=
root
#jdbc.password=root
jdbc.maxWait
=
1000
jdbc.driverClassName
=
com.mysql.jdbc.Driver
jdbc.maxActive
=
50
#Test???
#jdbc.url=jdbc:mysql://202.102.88.49:3306/house365-hgs-test?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
#jdbc.username=root
#jdbc.maxIdle=30
#jdbc.minIdle=25
#jdbc.password=idontcare
#jdbc.maxWait=1000
#jdbc.driverClassName=com.mysql.jdbc.Driver
#jdbc.maxActive=50
house365-hgs-ws/src/main/resources/test/ibatis/User.xml
View file @
e40892a9
...
...
@@ -53,7 +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=
"show
_m
obile"
/>
<result
property=
"showMobile"
column=
"show
M
obile"
/>
</resultMap>
<!-- 用于select查询公用抽取的列 -->
...
...
@@ -63,7 +63,7 @@
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,
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,show
_mobile AS show
Mobile
wx_number as wxNumber,wx_code_imgUrl as wxCodeImgUrl,promote_id AS promoteId,online_status AS onlineStatus,showMobile
]]>
</sql>
...
...
@@ -102,7 +102,7 @@
updateIp,
preLoginTime,
lastLoginTime,
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show
_m
obile
hotlinephone, goodat, description, headImgURL, fullImgURL,isFreeMan,limitLogin,promote_id,show
M
obile
) VALUES (
#id#,
#name#,
...
...
@@ -350,7 +350,7 @@
</isNotEmpty>
<isNotEmpty
prepend=
","
property=
"showMobile"
>
<![CDATA[
show
_m
obile = #showMobile#
show
M
obile = #showMobile#
]]>
</isNotEmpty>
</dynamic>
...
...
house365-hgs-ws/src/main/resources/test/mybatis/UserMapper.xml
View file @
e40892a9
...
...
@@ -47,7 +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=
"show
_m
obile"
/>
<result
property=
"showMobile"
column=
"show
M
obile"
/>
</resultMap>
<resultMap
id=
"infoMap2"
type=
"com.house365.beans.entity.UserSimpleEntity"
>
...
...
@@ -92,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,show
_m
obile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,wx_number,wx_code_imgUrl,show
M
obile
FROM user
where id = #{id} AND enabled = 1
</select>
...
...
@@ -152,7 +152,7 @@
AND deptId = #{deptId}
</if>
<if
test=
"showMobile != null and showMobile >= 0"
>
AND show
_m
obile = #{showMobile}
AND show
M
obile = #{showMobile}
</if>
<if
test=
"deptIdList != null and deptIdList.size() > 0 "
>
AND deptId in
...
...
@@ -231,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,show
_m
obile
description, headImgURL, fullImgURL,isFreeMan,defaultVisit,accid,identityType,token,limitLogin,show
M
obile
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