Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
74f83a3e
Commit
74f83a3e
authored
Sep 23, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动添加权益金定时任务
parent
793ec24d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
OrderTask.java
share-quartz/src/main/java/share/quartz/task/OrderTask.java
+4
-0
RedisTask.java
share-quartz/src/main/java/share/quartz/task/RedisTask.java
+0
-0
EquityFundExcessService.java
...in/java/share/system/service/EquityFundExcessService.java
+3
-0
EquityFundExcessServiceImpl.java
...hare/system/service/impl/EquityFundExcessServiceImpl.java
+0
-0
No files found.
share-quartz/src/main/java/share/quartz/task/OrderTask.java
View file @
74f83a3e
...
...
@@ -74,6 +74,9 @@ public class OrderTask {
@Autowired
private
ISCleanRecordsService
isCleanRecordsService
;
@Autowired
private
EquityFundExcessService
equityFundExcessService
;
final
int
ZERO
=
0
;
//10分钟的常量
...
...
@@ -341,6 +344,7 @@ public class OrderTask {
if
(
orders
!=
null
&&
orders
.
size
()
>
0
)
{
orders
.
stream
().
forEach
(
sOrder
->
{
logger
.
debug
(
"订单号为:"
+
sOrder
.
getOrderNo
()
+
"的订单异常"
);
equityFundExcessService
.
extracted
(
sOrder
);
//更改订单状态
sOrder
.
setStatus
(
OrderStatusEnum
.
USED
.
getCode
());
sOrder
.
setUpdateTime
(
new
Date
());
...
...
share-quartz/src/main/java/share/quartz/task/RedisTask.java
View file @
74f83a3e
This diff is collapsed.
Click to expand it.
share-system/src/main/java/share/system/service/EquityFundExcessService.java
View file @
74f83a3e
...
...
@@ -4,6 +4,7 @@ import java.util.List;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
share.common.core.page.TableDataInfo
;
import
share.system.domain.EquityFundExcess
;
import
share.system.domain.SOrder
;
import
share.system.domain.vo.EquityFundExcessVo
;
/**
...
...
@@ -65,4 +66,6 @@ public interface EquityFundExcessService extends IService<EquityFundExcess>
List
<
EquityFundExcessVo
>
selectEquityFundExcessVoList
(
Long
id
);
TableDataInfo
pageList
(
TableDataInfo
dataTable
,
EquityFundExcessVo
equityFundExcess
);
void
extracted
(
SOrder
sOrder
);
}
share-system/src/main/java/share/system/service/impl/EquityFundExcessServiceImpl.java
View file @
74f83a3e
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