Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-smartcarlife
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 245548bb
authored
May 26, 2026
by
潘诗林
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Revert "fix:产品管理列表查询:供应商为sku查询条件"
This reverts commit
2dcf7750
.
1 parent
38edc190
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
rpc-dj-smartcarlife/src/main/resources/META-INF/orm/BaseGoodsMapper.xml
rpc-dj-smartcarlife/src/main/resources/META-INF/orm/BaseGoodsMapper.xml
View file @
245548b
...
@@ -771,7 +771,7 @@
...
@@ -771,7 +771,7 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"providerIds != null and providerIds.size() > 0"
>
<if
test=
"providerIds != null and providerIds.size() > 0"
>
and
ugpr
.provider_id in
and
c
.provider_id in
<foreach
collection=
"providerIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"providerIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
</foreach>
</foreach>
...
@@ -830,7 +830,6 @@
...
@@ -830,7 +830,6 @@
WHERE deleted_flag = 'N'
WHERE deleted_flag = 'N'
GROUP BY goods_code) price ON price.goods_code = a.goods_code
GROUP BY goods_code) price ON price.goods_code = a.goods_code
left join dj_car_life_upgrade_goods c on c.goods_code = a.goods_code and c.deleted_flag = 'N'
left join dj_car_life_upgrade_goods c on c.goods_code = a.goods_code and c.deleted_flag = 'N'
left join dj_car_life_upgrade_goods_provider_ref ugpr on ugpr.upgrade_goods_id = c.id and ugpr.deleted_flag = 'N'
where a.deleted_flag = 'N'
where a.deleted_flag = 'N'
<if
test=
"goodsSource != null"
>
<if
test=
"goodsSource != null"
>
and b.goods_source = #{goodsSource}
and b.goods_source = #{goodsSource}
...
@@ -839,7 +838,7 @@
...
@@ -839,7 +838,7 @@
and (a.commodity_code = #{commodityCode} or c.commodity_code=#{commodityCode})
and (a.commodity_code = #{commodityCode} or c.commodity_code=#{commodityCode})
</if>
</if>
<if
test=
"providerIds != null and providerIds.size() > 0"
>
<if
test=
"providerIds != null and providerIds.size() > 0"
>
and
ugpr
.provider_id in
and
b
.provider_id in
<foreach
collection=
"providerIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"providerIds"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
</foreach>
</foreach>
...
...
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