Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
single-matter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
single-matter
Commits
54725a45
Commit
54725a45
authored
2 months ago
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改测试bug
parent
9b1e7db4
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
single-manager/src/main/java/com/mortals/xhx/common/utils/CustomerWebSocketClient.java
...com/mortals/xhx/common/utils/CustomerWebSocketClient.java
+5
-4
No files found.
single-manager/src/main/java/com/mortals/xhx/common/utils/CustomerWebSocketClient.java
View file @
54725a45
...
@@ -77,15 +77,16 @@ public class CustomerWebSocketClient extends WebSocketClient {
...
@@ -77,15 +77,16 @@ public class CustomerWebSocketClient extends WebSocketClient {
System
.
out
.
println
(
"ApplyDatumId: "
+
ApplyDatumId
);
System
.
out
.
println
(
"ApplyDatumId: "
+
ApplyDatumId
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
message
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
message
);
System
.
out
.
println
(
"serial_number: "
+
jsonObject
.
getLongValue
(
"serial_number"
));
System
.
out
.
println
(
"serial_number: "
+
jsonObject
.
getLongValue
(
"serial_number"
));
Long
serial_number
=
jsonObject
.
getLongValue
(
"serial_number"
);
System
.
out
.
println
(
"耗时:"
+(
System
.
currentTimeMillis
()-
currentTime
)+
"毫秒"
);
System
.
out
.
println
(
"耗时:"
+(
System
.
currentTimeMillis
()-
currentTime
)+
"毫秒"
);
if
(
null
!=
matterApplyDatumService
&&
null
!=
matterApplyService
){
if
(
null
!=
matterApplyDatumService
&&
null
!=
matterApplyService
){
MatterApplyDatumEntity
datumEntity
=
matterApplyDatumService
.
get
(
ApplyDatumId
);
MatterApplyDatumEntity
datumEntity
=
matterApplyDatumService
.
get
(
serial_number
);
boolean
apply
=
true
;
boolean
apply
=
true
;
String
mandatoryFields
=
""
;
String
mandatoryFields
=
""
;
if
(
jsonObject
.
getIntValue
(
"code"
)==
1
)
{
if
(
jsonObject
.
getIntValue
(
"code"
)==
0
)
{
JSONObject
result
=
JSONObject
.
parseObject
(
jsonObject
.
getString
(
"result"
));
JSONObject
result
=
JSONObject
.
parseObject
(
jsonObject
.
getString
(
"result"
));
MatterApplyDatumEntity
update
=
new
MatterApplyDatumEntity
();
MatterApplyDatumEntity
update
=
new
MatterApplyDatumEntity
();
update
.
setId
(
ApplyDatumId
);
update
.
setId
(
datumEntity
.
getId
()
);
if
(
result
.
getBooleanValue
(
"Consistency"
))
{
if
(
result
.
getBooleanValue
(
"Consistency"
))
{
update
.
setReviewStatus
(
1
);
update
.
setReviewStatus
(
1
);
}
else
{
}
else
{
...
@@ -97,7 +98,7 @@ public class CustomerWebSocketClient extends WebSocketClient {
...
@@ -97,7 +98,7 @@ public class CustomerWebSocketClient extends WebSocketClient {
matterApplyDatumService
.
update
(
update
);
matterApplyDatumService
.
update
(
update
);
}
else
{
}
else
{
MatterApplyDatumEntity
update
=
new
MatterApplyDatumEntity
();
MatterApplyDatumEntity
update
=
new
MatterApplyDatumEntity
();
update
.
setId
(
ApplyDatumId
);
update
.
setId
(
datumEntity
.
getId
()
);
update
.
setReviewStatus
(
2
);
update
.
setReviewStatus
(
2
);
update
.
setUpdateTime
(
new
Date
());
update
.
setUpdateTime
(
new
Date
());
matterApplyDatumService
.
update
(
update
);
matterApplyDatumService
.
update
(
update
);
...
...
This diff is collapsed.
Click to expand it.
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