Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
base_platform_enterprise
gic-store
Commits
1956769c
Commit
1956769c
authored
Jun 30, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
店招品牌查询调整:group by t1.store_brand_id
parent
942a3025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
TabStoreBrandMapper.xml
...service/src/main/resources/mapper/TabStoreBrandMapper.xml
+11
-0
No files found.
gic-store-service/src/main/resources/mapper/TabStoreBrandMapper.xml
View file @
1956769c
...
...
@@ -169,6 +169,8 @@
<if
test=
"storeBrandId != null "
>
and t1.store_brand_id
<>
#{storeBrandId}
</if>
group by t1.store_brand_id
</select>
<select
id=
"listStoreBrand"
resultMap=
"BaseResultMap"
>
select
...
...
@@ -181,6 +183,9 @@
<if
test=
"search != null and search != '' "
>
and ( t1.store_brand_code like concat('%', #{search}, '%') or t1.store_brand_name like concat('%', #{search}, '%') )
</if>
group by t1.store_brand_id
order by sort
</select>
<select
id=
"getPrevSort"
resultMap=
"BaseResultMap"
>
...
...
@@ -235,6 +240,7 @@
#{item}
</foreach>
</if>
group by t1.store_brand_id
order by t1.store_brand_id
</select>
...
...
@@ -248,6 +254,8 @@
#{item}
</foreach>
</if>
group by t1.store_brand_id
</select>
<select
id=
"getByStoreBrandName"
resultMap=
"BaseResultMap"
>
...
...
@@ -258,6 +266,8 @@
<if
test=
"storeBrandName != null "
>
and t1.store_brand_name = #{storeBrandName}
</if>
group by t1.store_brand_id
</select>
</mapper>
\ No newline at end of file
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