Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
6bfad5e1
Commit
6bfad5e1
authored
Jul 25, 2023
by
唐峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签署
parent
d00ed506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
BlackHoleRegisteredEventListener.java
...antgroup/xyqb/event/BlackHoleRegisteredEventListener.java
+4
-4
No files found.
src/main/java/cn/quantgroup/xyqb/event/BlackHoleRegisteredEventListener.java
View file @
6bfad5e1
...
...
@@ -60,9 +60,9 @@ public class BlackHoleRegisteredEventListener implements ApplicationListener<Reg
//此处补签,对于合同中心,可能会重新签署,后续待合同中心处理并发问题或者重复签署逻辑
//Thread.sleep(2000);
//JSONArray array = new JSONArray();
templates
.
forEach
(
templateId
->
{
JSONArray
array
=
new
JSONArray
();
JSONObject
json
=
new
JSONObject
();
if
(
templateId
==
8
||
templateId
==
280
)
{
JSONObject
fields
=
new
JSONObject
();
...
...
@@ -74,15 +74,15 @@ public class BlackHoleRegisteredEventListener implements ApplicationListener<Reg
json
.
put
(
"mustReal"
,
false
);
json
.
put
(
"templateId"
,
templateId
);
json
.
put
(
"fields"
,
fields
);
//
array.add(json);
array
.
add
(
json
);
}
else
{
json
.
put
(
"userId"
,
user
.
getId
());
json
.
put
(
"templateId"
,
templateId
);
//
array.add(json);
array
.
add
(
json
);
}
log
.
info
(
"注册签合同事件:{},模板:{}"
,
JSONObject
.
toJSONString
(
event
),
templateId
);
registeredNotifyBlackHoleRabbitTemplate
.
convertAndSend
(
exchange
,
routingKey
,
json
.
toString
());
array
.
toString
());
});
}
}
catch
(
Exception
e
)
{
...
...
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