Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-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
赵啸非
refined-platform
Commits
940e04ed
Commit
940e04ed
authored
May 31, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加定时删除七天前的人流数据
parent
f8003c14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncSubmitAppointTaskImpl.java
...om/mortals/xhx/daemon/task/SyncSubmitAppointTaskImpl.java
+4
-3
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncSubmitAppointTaskImpl.java
View file @
940e04ed
package
com.mortals.xhx.daemon.task
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.http.HttpUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.TypeReference
;
...
...
@@ -51,14 +52,14 @@ public class SyncSubmitAppointTaskImpl implements ITaskExcuteService {
private
void
syncSubmitAppoint
()
{
String
registerPath
=
"/inter/Actuary/orderTakebusiness"
;
String
url
=
host
+
registerPath
;
AppointmentRecordsQuery
appointmentRecordsQuery
=
new
AppointmentRecordsQuery
();
appointmentRecordsQuery
.
setAppointmentStatus
(
AppointmentStatusEnum
.
未取号
.
getValue
());
appointmentRecordsQuery
.
setCreateTime
(
DateUtils
.
getCurrDate
());
appointmentRecordsQuery
.
setCreateTimeStart
(
DateUtil
.
today
());
appointmentRecordsQuery
.
setCreateTimeEnd
(
DateUtil
.
today
());
List
<
AppointmentRecordsEntity
>
appointmentRecordsList
=
appointmentRecordsService
.
find
(
appointmentRecordsQuery
);
for
(
AppointmentRecordsEntity
appointmentRecordsEntity
:
appointmentRecordsList
)
{
doTakeNum
(
url
,
appointmentRecordsEntity
);
}
}
...
...
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