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
ebc0dbf0
Commit
ebc0dbf0
authored
Apr 07, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sql
parent
70fe96ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
47 deletions
+50
-47
OrderMapper.xml
wisenergy-mapper/src/main/resources/mapper/OrderMapper.xml
+1
-0
DayTaskServiceImpl.java
...ava/cn/wisenergy/service/app/impl/DayTaskServiceImpl.java
+49
-47
No files found.
wisenergy-mapper/src/main/resources/mapper/OrderMapper.xml
View file @
ebc0dbf0
...
...
@@ -124,6 +124,7 @@
<include
refid=
"table"
/>
<where>
user_id=#{userid}
and pay_type
<![CDATA[ <> ]]>
0
</where>
</select>
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/DayTaskServiceImpl.java
View file @
ebc0dbf0
...
...
@@ -523,6 +523,7 @@ public class DayTaskServiceImpl implements DayTaskService {
List
<
ProgressPrize
>
addList
=
new
ArrayList
<>();
List
<
ProgressPrize
>
updateList
=
new
ArrayList
<>();
if
(
number
>
0
)
{
for
(
TeamPerformanceSortVo
teamVo
:
listVo
)
{
String
userId
=
teamVo
.
getTeamPerformance
().
getUserId
();
Integer
userLevel
=
teamVo
.
getTeamPerformance
().
getUserLevel
();
...
...
@@ -574,7 +575,8 @@ public class DayTaskServiceImpl implements DayTaskService {
// flag 1: 日定时任务 2:月定时任务
int
flag
=
1
;
return
accountManager
.
updateOrSavePrize
(
updateAccountList
,
prizes
,
addList
,
updateList
,
flag
);
}
return
true
;
}
private
void
addTeamPerformance
(
List
<
User
>
userList
)
{
...
...
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