Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-shopmall-parent
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 9580b52c
authored
Apr 13, 2023
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
处理mybatis集合映射问题(id列不能省略)
1 parent
d9722179
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
platform-shopmall/src/main/resources/mapper/GoodsMapper.xml
platform-shopmall/src/main/resources/mapper/GoodsMapper.xml
View file @
9580b52
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
</select>
</select>
<select
id=
"queryGoodsShelvesList"
resultType=
"cn.com.glsx.admin.modules.model.cloudcrane.response.QueryGoodsShelvesListResponse"
>
<select
id=
"queryGoodsShelvesList"
resultType=
"cn.com.glsx.admin.modules.model.cloudcrane.response.QueryGoodsShelvesListResponse"
>
select sg.goods_sku_code
goodsSkuCode,sg.shelves_status shelvesS
tatus
select sg.goods_sku_code
,sg.shelves_s
tatus
from shopmall_goods sg
from shopmall_goods sg
where sg.del_flag = 0
where sg.del_flag = 0
and sg.goods_sku_code in
and sg.goods_sku_code in
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
</select>
</select>
<select
id=
"queryGoodsPriceList"
resultType=
"cn.com.glsx.admin.modules.model.cloudcrane.response.QueryGoodsPriceListResponse"
>
<select
id=
"queryGoodsPriceList"
resultType=
"cn.com.glsx.admin.modules.model.cloudcrane.response.QueryGoodsPriceListResponse"
>
select sg.goods_sku_code
goodsSkuCode,sg.sell_price sellPrice,sg.market_price marketP
rice
select sg.goods_sku_code
,sg.sell_price,sg.market_p
rice
from shopmall_goods sg
from shopmall_goods sg
where sg.del_flag = 0
where sg.del_flag = 0
and sg.goods_sku_code in
and sg.goods_sku_code in
...
...
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