Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crontab-bff
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fitness-server
crontab-bff
Commits
d30b971d
Commit
d30b971d
authored
Apr 07, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:settle
parent
0d926e17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
server/src/main/java/com/jiejing/bff/crontab/server/finance/FitFinanceJob.java
+21
-0
server/src/main/java/com/jiejing/bff/crontab/server/paycenter/PayCenterJob.java
+0
-5
No files found.
server/src/main/java/com/jiejing/bff/crontab/server/finance/FitFinanceJob.java
0 → 100644
View file @
d30b971d
package
com
.
jiejing
.
bff
.
crontab
.
server
.
finance
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
/**
* @author chengyubing
* @since 2024/4/7 14:20
*/
@Component
public
class
FitFinanceJob
{
/**
* 对账
*/
@Scheduled
(
cron
=
"0 0 3 * * ?"
)
public
void
checkBill
()
{
// payCenterTaskApi.syncSettle();
}
}
server/src/main/java/com/jiejing/bff/crontab/server/paycenter/PayCenterJob.java
View file @
d30b971d
...
...
@@ -30,9 +30,4 @@ public class PayCenterJob {
payCenterTaskApi
.
syncPay
();
}
@Scheduled
(
cron
=
"0 0 3 * * ?"
)
public
void
syncSettle
()
{
payCenterTaskApi
.
syncSettle
();
}
}
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