Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shop-Mall
Project
Project
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
licc
shop-Mall
Commits
f8a7c3c6
Commit
f8a7c3c6
authored
Mar 11, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试定时任务
parent
6a164a8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
AccountServiceImpl.java
...ava/cn/wisenergy/service/app/impl/AccountServiceImpl.java
+3
-1
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/AccountServiceImpl.java
View file @
f8a7c3c6
...
...
@@ -14,6 +14,7 @@ import cn.wisenergy.service.Manager.PublicManager;
import
cn.wisenergy.service.app.AccountService
;
import
cn.wisenergy.service.Manager.AccountManager
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
...
...
@@ -66,9 +67,10 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
private
static
final
Integer
TWENTY
=
20
;
@XxlJob
(
value
=
"orderRebateDayTask"
)
@Override
public
R
<
Boolean
>
orderRebate
()
{
log
.
info
(
"测试执行定时任务,三分钟执行一次"
);
//获取返佣订单
List
<
OrderInfo
>
list
=
orderMapper
.
getListBySuccessTime
(
new
Date
());
log
.
info
(
"shop-mall[]AccountServiceImpl[]orderRebate[]input.param.list:{}"
,
list
.
size
());
...
...
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