Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
12535da2
Commit
12535da2
authored
Apr 11, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加消息发送系统
parent
9469328b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
18 deletions
+22
-18
portal-manager/src/main/java/com/mortals/xhx/busiz/rsp/wait/WaitPersonInfo.java
...n/java/com/mortals/xhx/busiz/rsp/wait/WaitPersonInfo.java
+3
-0
portal-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
...ortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
+19
-18
No files found.
portal-manager/src/main/java/com/mortals/xhx/busiz/rsp/wait/WaitPersonInfo.java
View file @
12535da2
...
@@ -44,6 +44,9 @@ public class WaitPersonInfo {
...
@@ -44,6 +44,9 @@ public class WaitPersonInfo {
@JSONField
(
name
=
"id"
)
@JSONField
(
name
=
"id"
)
private
Long
waitId
;
private
Long
waitId
;
@JSONField
(
name
=
"siteid"
)
private
Long
siteId
;
@JSONField
(
name
=
"idcardData_PhotoFileName"
)
@JSONField
(
name
=
"idcardData_PhotoFileName"
)
private
String
idcardDataPhotoFileName
;
private
String
idcardDataPhotoFileName
;
...
...
portal-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
View file @
12535da2
...
@@ -126,25 +126,26 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
...
@@ -126,25 +126,26 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
}
}
if
(!
ObjectUtils
.
isEmpty
(
waitPersonInfos
))
{
if
(!
ObjectUtils
.
isEmpty
(
waitPersonInfos
))
{
//
log.info("waitPersonInfos:{}", JSON.toJSONString(waitPersonInfos));
log
.
info
(
"waitPersonInfos:{}"
,
JSON
.
toJSONString
(
waitPersonInfos
));
List
<
DoworkRecordsEntity
>
recordsEntityList
=
waitPersonInfos
.
stream
().
map
(
item
->
{
List
<
DoworkRecordsEntity
>
recordsEntityList
=
waitPersonInfos
.
stream
().
map
(
item
->
{
DoworkRecordsEntity
careRecordsEntity
=
new
DoworkRecordsEntity
();
DoworkRecordsEntity
doworkRecordsEntity
=
new
DoworkRecordsEntity
();
careRecordsEntity
.
initAttrValue
();
doworkRecordsEntity
.
initAttrValue
();
careRecordsEntity
.
setName
(
item
.
getIdcardName
());
doworkRecordsEntity
.
setName
(
item
.
getIdcardName
());
careRecordsEntity
.
setContact
(
item
.
getPhone
());
doworkRecordsEntity
.
setSiteId
(
item
.
getSiteId
());
careRecordsEntity
.
setIdCard
(
item
.
getIdcardIDCardNo
());
doworkRecordsEntity
.
setContact
(
item
.
getPhone
());
careRecordsEntity
.
setBussinessId
(
item
.
getBusinessId
());
doworkRecordsEntity
.
setIdCard
(
item
.
getIdcardIDCardNo
());
careRecordsEntity
.
setBussinessName
(
item
.
getBusinessName
());
doworkRecordsEntity
.
setBussinessId
(
item
.
getBusinessId
());
careRecordsEntity
.
setService
(
item
.
getBusinessName
());
doworkRecordsEntity
.
setBussinessName
(
item
.
getBusinessName
());
careRecordsEntity
.
setQueueNo
(
item
.
getFlowNum
());
doworkRecordsEntity
.
setService
(
item
.
getBusinessName
());
careRecordsEntity
.
setTakeTime
(
item
.
getTakeTime
()
==
null
?
new
Date
()
:
item
.
getTakeTime
());
doworkRecordsEntity
.
setQueueNo
(
item
.
getFlowNum
());
careRecordsEntity
.
setPersonId
(
DataUtil
.
converStr2Long
(
item
.
getPeopleId
(),
0
));
doworkRecordsEntity
.
setTakeTime
(
item
.
getTakeTime
()
==
null
?
new
Date
()
:
item
.
getTakeTime
());
careRecordsEntity
.
setWaitId
(
item
.
getWaitId
());
doworkRecordsEntity
.
setPersonId
(
DataUtil
.
converStr2Long
(
item
.
getPeopleId
(),
0
));
careRecordsEntity
.
setProcessStatus
(
ProcessStatusEnum
.
排队中
.
getValue
());
doworkRecordsEntity
.
setWaitId
(
item
.
getWaitId
());
careRecordsEntity
.
setCreateTime
(
new
Date
());
doworkRecordsEntity
.
setProcessStatus
(
ProcessStatusEnum
.
排队中
.
getValue
());
careRecordsEntity
.
setCreateUserName
(
"system"
);
doworkRecordsEntity
.
setCreateTime
(
new
Date
());
careRecordsEntity
.
setCreateUserId
(
1L
);
doworkRecordsEntity
.
setCreateUserName
(
"system"
);
return
careRecordsEntity
;
doworkRecordsEntity
.
setCreateUserId
(
1L
);
return
doworkRecordsEntity
;
}).
collect
(
Collectors
.
toList
());
}).
collect
(
Collectors
.
toList
());
if
(!
ObjectUtils
.
isEmpty
(
recordsEntityList
))
{
if
(!
ObjectUtils
.
isEmpty
(
recordsEntityList
))
{
...
...
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