记得上下班打卡 | 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
010ebf92
Commit
010ebf92
authored
Jun 17, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:+cost;
parent
919861be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
AdamEntersServiceImpl.java
...dnet/service/adam/service/impl/AdamEntersServiceImpl.java
+7
-3
AdamUserServiceImpl.java
...uidnet/service/adam/service/impl/AdamUserServiceImpl.java
+4
-2
No files found.
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/impl/AdamEntersServiceImpl.java
View file @
010ebf92
...
...
@@ -107,11 +107,15 @@ public class AdamEntersServiceImpl implements IAdamEntersService {
adamRdmService
.
delEntersVoByUid
(
currentUid
);
log
.
debug
(
"#RDS耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
s
=
System
.
currentTimeMillis
();
String
msg
=
SqlMapping
.
get
(
"adam_enters.add"
,
vo
.
getEntersId
(),
vo
.
getUid
(),
vo
.
getType
(),
vo
.
getName
(),
vo
.
getMobile
(),
vo
.
getIdCard
(),
vo
.
getIsDefault
(),
vo
.
getState
(),
now
);
log
.
debug
(
"#SQL.GET耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
s
=
System
.
currentTimeMillis
();
rabbitTemplate
.
convertSendAndReceive
(
MQConst
.
EX_LNS_SQL_UCENTER
,
MQConst
.
RK_SQL_UCENTER
,
SqlMapping
.
get
(
"adam_enters.add"
,
vo
.
getEntersId
(),
vo
.
getUid
(),
vo
.
getType
(),
vo
.
getName
(),
vo
.
getMobile
(),
vo
.
getIdCard
(),
vo
.
getIsDefault
(),
vo
.
getState
(),
now
)
msg
);
log
.
debug
(
"#MQ耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
return
vo
.
getEntersId
();
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/service/impl/AdamUserServiceImpl.java
View file @
010ebf92
...
...
@@ -81,8 +81,10 @@ public class AdamUserServiceImpl implements IAdamUserService {
log
.
debug
(
"#MDB耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
s
=
System
.
currentTimeMillis
();
rabbitTemplate
.
convertSendAndReceive
(
MQConst
.
EX_LNS_SQL_UCENTER
,
MQConst
.
RK_SQL_UREGISTER
,
SqlMapping
.
get
(
"adam_user.add"
,
userInfoVo
.
getUid
(),
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
now
)
String
msg
=
SqlMapping
.
get
(
"adam_user.add"
,
userInfoVo
.
getUid
(),
userInfoVo
.
getMobile
(),
userInfoVo
.
getState
(),
now
);
log
.
debug
(
"#SQL.GET耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
rabbitTemplate
.
convertAndSend
(
MQConst
.
EX_LNS_SQL_UCENTER
,
MQConst
.
RK_SQL_UREGISTER
,
msg
);
log
.
debug
(
"#MQ耗时:{}ms"
,
System
.
currentTimeMillis
()
-
s
);
...
...
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