Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
4cee1e85
Commit
4cee1e85
authored
Jul 10, 2018
by
Junling Bu
Browse files
fix[litemall-db]: 修复商品统计中mapper文件。
parent
3abfeea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/resources/org/linlinjava/litemall/db/dao/StatMapper.xml
View file @
4cee1e85
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
substr(add_time,1, 10) as day,
substr(add_time,1, 10) as day,
count(distinct order_id) as orders,
count(distinct order_id) as orders,
sum(number) as products,
sum(number) as products,
sum(number*
retail_
price) as amount
sum(number*price) as amount
from litemall_order_goods
from litemall_order_goods
group by substr(add_time,1, 10)
group by substr(add_time,1, 10)
</select>
</select>
...
...
Write
Preview
Supports
Markdown
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