1
0

feat: 使用liteflow替换自定义的任务执行

This commit is contained in:
2025-09-06 14:54:47 +08:00
parent 550692e281
commit 0ad9d8239c
22 changed files with 763 additions and 428 deletions

View File

@@ -15,5 +15,15 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
generate-ddl: true
quartz:
wait-for-jobs-to-complete-on-shutdown: true
startup-delay: 30s
job-store-type: jdbc
jdbc:
platform: mysql
fenix:
print-banner: false
liteflow:
print-banner: false
rule-source: flow.xml
check-node-exists: false

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE flow PUBLIC "liteflow" "https://liteflow.cc/liteflow.dtd">
<flow>
<chain id="update_stock_information">
CATCH(THEN(task_start, update_stock_information, task_end)).DO(task_error)
</chain>
</flow>