记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
33beb636
Commit
33beb636
authored
Aug 10, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~api:用户注册:SQL入库传值修复;
parent
d7d1b160
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AdamUserServiceImpl.java
...uidnet/service/adam/service/impl/AdamUserServiceImpl.java
+4
-4
sqlmap.properties
...et-service-adam-impl/src/main/resources/sqlmap.properties
+1
-1
No files found.
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/impl/AdamUserServiceImpl.java
View file @
33beb636
...
@@ -98,9 +98,9 @@ public class AdamUserServiceImpl implements IAdamUserService {
...
@@ -98,9 +98,9 @@ public class AdamUserServiceImpl implements IAdamUserService {
log
.
debug
(
"#RDS耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
log
.
debug
(
"#RDS耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user.add"
));
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user.add"
));
initUserObjs
.
add
(
new
Object
[]{
userInfoVo
.
getUid
(),
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
0
,
now
});
initUserObjs
.
add
(
new
Object
[]{
userInfoVo
.
getUid
(),
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
userInfoVo
.
getIsComplete
()
,
now
});
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user_info.add"
));
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user_info.add"
));
initUserInfoObjs
.
add
(
new
Object
[]{
userInfoVo
.
getUid
(),
userInfoVo
.
getNickname
(),
null
,
userInfoVo
.
getQrCode
()});
initUserInfoObjs
.
add
(
new
Object
[]{
userInfoVo
.
getUid
(),
userInfoVo
.
getNickname
(),
userInfoVo
.
getAvatar
(),
userInfoVo
.
getBackground
()
,
userInfoVo
.
getQrCode
()});
s
=
System
.
currentTimeMillis
();
s
=
System
.
currentTimeMillis
();
queueUtils
.
sendMsgByRedis
(
MQConst
.
AdamQueue
.
SQL_UREGISTER
.
getKey
(),
queueUtils
.
sendMsgByRedis
(
MQConst
.
AdamQueue
.
SQL_UREGISTER
.
getKey
(),
...
@@ -154,9 +154,9 @@ public class AdamUserServiceImpl implements IAdamUserService {
...
@@ -154,9 +154,9 @@ public class AdamUserServiceImpl implements IAdamUserService {
adamRdmService
.
setUserInfoVoByUid
(
registerUid
,
userInfoVo
);
adamRdmService
.
setUserInfoVoByUid
(
registerUid
,
userInfoVo
);
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user.add"
));
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user.add"
));
initUserObjs
.
add
(
new
Object
[]{
registerUid
,
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
0
,
now
});
initUserObjs
.
add
(
new
Object
[]{
registerUid
,
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
userInfoVo
.
getIsComplete
()
,
now
});
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user_info.add"
));
toMqSqls
.
add
(
SqlMapping
.
get
(
"adam_user_info.add"
));
initUserInfoObjs
.
add
(
new
Object
[]{
registerUid
,
userInfoVo
.
getNickname
(),
userInfoVo
.
getAvatar
(),
userInfoVo
.
getQrCode
()});
initUserInfoObjs
.
add
(
new
Object
[]{
registerUid
,
userInfoVo
.
getNickname
(),
userInfoVo
.
getAvatar
(),
userInfoVo
.
get
Background
(),
userInfoVo
.
get
QrCode
()});
AdamThirdPartInfoVo
thirdPartInfoVo
=
AdamThirdPartInfoVo
.
getNew
();
AdamThirdPartInfoVo
thirdPartInfoVo
=
AdamThirdPartInfoVo
.
getNew
();
BeanUtils
.
copyProperties
(
param
,
thirdPartInfoVo
);
BeanUtils
.
copyProperties
(
param
,
thirdPartInfoVo
);
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/resources/sqlmap.properties
View file @
33beb636
...
@@ -5,7 +5,7 @@ adam_user.edit.mobile=UPDATE adam_user SET mobile=?, updated_at=? WHERE `uid`=?
...
@@ -5,7 +5,7 @@ adam_user.edit.mobile=UPDATE adam_user SET mobile=?, updated_at=? WHERE `uid`=?
adam_user.close
=
UPDATE adam_user SET `state`=2, updated_at=?, closed_at=? WHERE `uid`=?
adam_user.close
=
UPDATE adam_user SET `state`=2, updated_at=?, closed_at=? WHERE `uid`=?
# ----------------------------------------------------
# ----------------------------------------------------
adam_user_info.add
=
INSERT INTO adam_user_info (`uid`, nickname, avatar,
qr_code) VALUES (
?,?,?,?)
adam_user_info.add
=
INSERT INTO adam_user_info (`uid`, nickname, avatar,
background, qr_code) VALUES (?,
?,?,?,?)
adam_user_info.edit
=
UPDATE adam_user_info SET nickname=?, sex=?, birthday=?, area=?, signature=?, avatar=?, background=?, tag_me=? WHERE uid=?
adam_user_info.edit
=
UPDATE adam_user_info SET nickname=?, sex=?, birthday=?, area=?, signature=?, avatar=?, background=?, tag_me=? WHERE uid=?
adam_user_info.update_by_member
=
UPDATE adam_user_info SET birthday=?, area=? WHERE uid=?
adam_user_info.update_by_member
=
UPDATE adam_user_info SET birthday=?, area=? WHERE uid=?
adam_user_info.update_qr_code
=
UPDATE adam_user_info SET qr_code=? WHERE uid=?
adam_user_info.update_qr_code
=
UPDATE adam_user_info SET qr_code=? WHERE uid=?
...
...
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