Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
huluobin
gogirl-miniapp-backend
Commits
e276a7ac
Commit
e276a7ac
authored
Jul 06, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
cccb0bb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MallOrderTechnicianMapper.xml
src/main/resources/mapper/MallOrderTechnicianMapper.xml
+3
-3
No files found.
src/main/resources/mapper/MallOrderTechnicianMapper.xml
View file @
e276a7ac
...
...
@@ -14,15 +14,15 @@
left join mall_order t2 on t1.mall_order_id = t2.id
where t1.technician_id = #{param}
and t2.status = 4
and
t2.create_time
= #{param.date}
and
FROM_UNIXTIME(t2.create_time / 1000, '%Y-%m')
= #{param.date}
</select>
<select
id=
"queryTotalMallOrderAchievement"
resultType=
"java.math.BigDecimal"
>
SELECT sum(t1.achievement)
from mall_order_technician t1
LEFT JOIN store_technician t2 on t1.
id =
technician_id = t2.id
LEFT JOIN store_technician t2 on t1.technician_id = t2.id
LEFT JOIN mall_order t3 on t1.mall_order_id =t3.id
where
t3.create_time
= #{date}
where
FROM_UNIXTIME(t3.create_time/1000,'%Y-%m')
= #{date}
<if
test=
"technicianId != null "
>
and t1.technician_id =#{technicianId}
</if>
...
...
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