Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
farming
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
farming
Commits
56bc37a0
Commit
56bc37a0
authored
Jul 17, 2023
by
郑云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已售数量只查询本次团购中的
parent
646a35bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/main/resources/mappings/GroupBuyProductMapper.xml
+2
-0
No files found.
src/main/resources/mappings/GroupBuyProductMapper.xml
View file @
56bc37a0
...
@@ -44,8 +44,10 @@
...
@@ -44,8 +44,10 @@
FROM
FROM
order_main om
order_main om
LEFT JOIN order_sub os ON om.id = os.mainid
LEFT JOIN order_sub os ON om.id = os.mainid
left join group_order go on om.group_order_id = go.id
WHERE
WHERE
om.group_order_id IS NOT NULL
om.group_order_id IS NOT NULL
and go.group_buy_id = #{id,jdbcType=BIGINT}
GROUP BY
GROUP BY
os.productid
os.productid
) ms ON gbp.product_id = ms.productid
) ms ON gbp.product_id = ms.productid
...
...
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