Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
f7d2f91b
Commit
f7d2f91b
authored
Dec 02, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善商品下拉框搜索条件查询
parent
1571dc06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ProductMapper.xml
...-core/src/main/resources/mapper/product/ProductMapper.xml
+4
-1
No files found.
yudao-module-product/yudao-module-product-core/src/main/resources/mapper/product/ProductMapper.xml
View file @
f7d2f91b
...
...
@@ -14,7 +14,7 @@
GROUP BY type_id
</select>
<select
id=
"getProductList"
resultType=
"cn.iocoder.yudao.module.product.vo.product.ProductRespVO"
>
SELECT p.*
SELECT p.*
,
t.title_zh as type_title_zh,
t.title_en as type_title_en
from ecw_product p left join ecw_product_type t on p.type_id = t.id
...
...
@@ -34,6 +34,9 @@
</if>
<if
test=
"reqVO.customsCode != null and reqVO.customsCode != '' "
>
and p.customs_code like concat("%",concat(#{reqVO.customsCode},"%"))
</if>
<if
test=
"reqVO.titleZh != null and reqVO.titleZh != '' "
>
and (p.title_zh like concat("%",concat(#{reqVO.titleZh},"%")) or p.title_en like concat("%",concat(#{reqVO.titleZh},"%")))
</if>
<if
test=
"reqVO.typeIds != null and reqVO.typeIds.size() > 0"
>
and p.type_id in
...
...
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