Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 49c71221
authored
Jun 22, 2026
by
范富荣
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改查询活动商品sql
1 parent
f86b96f8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
rpc-dj-strategy/src/main/resources/META-INF/orm/MarketingActivityProductMapper.xml
rpc-dj-strategy/src/main/resources/META-INF/orm/MarketingActivityProductMapper.xml
View file @
49c7122
...
@@ -99,7 +99,8 @@
...
@@ -99,7 +99,8 @@
</select>
</select>
<select
id=
"selectActiveByMerchantIdAndGoodsCodes"
resultType=
"cn.com.glsx.dj.strategy.model.MarketingActivityProduct"
>
<select
id=
"selectActiveByMerchantIdAndGoodsCodes"
resultType=
"cn.com.glsx.dj.strategy.model.MarketingActivityProduct"
>
SELECT p.id, p.activity_id, p.goods_code, p.discount_price, p.sales_incentive
SELECT p.id, p.activity_id AS activityId, p.goods_code AS goodsCode,
p.discount_price AS discountPrice, p.sales_incentive AS salesIncentive
FROM dj_marketing_activity_product p
FROM dj_marketing_activity_product p
INNER JOIN dj_marketing_activity a ON p.activity_id = a.id
INNER JOIN dj_marketing_activity a ON p.activity_id = a.id
INNER JOIN dj_marketing_activity_store s ON s.activity_id = a.id
INNER JOIN dj_marketing_activity_store s ON s.activity_id = a.id
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment