Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
data-server
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
data-server
Commits
b88d2599
Commit
b88d2599
authored
Mar 18, 2021
by
m1991
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d6b4f4f8
5c8bbafc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
AccountServiceImpl.java
...ava/cn/wisenergy/service/app/impl/AccountServiceImpl.java
+6
-2
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/AccountServiceImpl.java
View file @
b88d2599
...
...
@@ -116,7 +116,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
@Override
public
R
<
Boolean
>
performanceCount
()
{
//获取本月订单
log
.
info
(
"月度肥料定时-日任务"
);
log
.
info
(
"月度肥料定时-日任务
开启
"
);
List
<
OrderInfo
>
list
=
orderMapper
.
getByCreateTime
(
new
Date
());
log
.
info
(
"shop-mall[]AccountServiceImpl[]performanceCount[]input.param.list:{}"
,
list
.
size
());
if
(
CollectionUtils
.
isEmpty
(
list
))
{
...
...
@@ -218,6 +218,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
if
(!
bool
)
{
return
R
.
ok
(
1
,
false
);
}
log
.
info
(
"月度肥料定时-日任务执行成功"
);
return
R
.
ok
(
0
,
true
);
}
...
...
@@ -225,7 +226,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
* 获取用户的上级列表
*
* @param userId 用户id
* @return
用户的上级列表
* @return 用户的上级列表
*/
@Override
public
List
<
User
>
getByList
(
String
userId
)
{
...
...
@@ -241,6 +242,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
@Override
public
R
<
Boolean
>
progressPrizeCount
()
{
log
.
info
(
"shop-mall[]AccountServiceImpl[]performanceCount[]input.method"
);
log
.
info
(
"本月最大进步奖日定时任务开启"
);
Date
date
=
new
Date
();
String
yearMonth
=
DateUtil
.
convertDateToStr
(
date
,
PATTERN
);
...
...
@@ -311,6 +313,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
return
R
.
ok
(
1
,
false
);
}
}
log
.
info
(
"本月最大进步奖日定时任务执行成功"
);
return
R
.
ok
(
0
,
true
);
}
...
...
@@ -333,6 +336,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, AccountInfo>
if
(!
bool
)
{
return
R
.
ok
(
1
,
false
);
}
log
.
info
(
"本月最大进步奖日定时任务执行成功"
);
return
R
.
ok
(
0
,
true
);
}
...
...
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