Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
platform-merchants
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 37f58d4f
authored
Dec 15, 2025
by
张富康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店列表
1 parent
e7a48614
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
platform-merchants-api/src/main/java/cn/com/glsx/merchants/dto/merchant/CarBrandProvinceRequestDTO.java
platform-merchants-container/src/main/resources/META-INF/orm/MerchantMapper.xml
platform-merchants-api/src/main/java/cn/com/glsx/merchants/dto/merchant/CarBrandProvinceRequestDTO.java
View file @
37f58d4
...
...
@@ -19,5 +19,7 @@ public class CarBrandProvinceRequestDTO implements Serializable {
private
List
<
Integer
>
firstBrandIdList
;
@ApiModelProperty
(
notes
=
"省份"
)
private
List
<
Integer
>
provinceIds
;
@ApiModelProperty
(
notes
=
"门店名称"
)
private
String
merchantName
;
}
platform-merchants-container/src/main/resources/META-INF/orm/MerchantMapper.xml
View file @
37f58d4
...
...
@@ -1216,8 +1216,7 @@
from platform_merchant_brand where merchant_id =#{merchantId} and del_flag = 0
</select>
<select
id=
"findMerchantListByBrandIdsProvince"
resultType=
"cn.com.glsx.merchants.model.response.MerchantProvinceDTO"
>
<select
id=
"findMerchantListByBrandIdsProvince"
resultType=
"cn.com.glsx.merchants.model.response.MerchantProvinceDTO"
>
SELECT DISTINCT pm.merchantNo as merchantId,
pm.merchant_name as merchantName,
pm.province_code as provinceCode,
...
...
@@ -1237,12 +1236,14 @@
#{item}
</foreach>
</if>
<if
test=
"merchantName != null and merchantName != '' "
>
AND pm.merchant_name LIKE CONCAT('%',#{merchantName},'%')
</if>
AND pmb.del_flag = 0
ORDER BY pm.id;
</select>
<select
id=
"findMerchantProvinceListByIds"
resultType=
"cn.com.glsx.merchants.model.response.MerchantProvinceDTO"
>
<select
id=
"findMerchantProvinceListByIds"
resultType=
"cn.com.glsx.merchants.model.response.MerchantProvinceDTO"
>
SELECT distinct merchantNo merchantId,
province_code provinceCode,
merchant_name merchantName
...
...
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