Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
1aaf5343
Commit
1aaf5343
authored
Dec 11, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQL增加去重
parent
85ee5672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
SConsumerMapper.xml
...stem/src/main/resources/mapper/system/SConsumerMapper.xml
+10
-1
No files found.
share-system/src/main/resources/mapper/system/SConsumerMapper.xml
View file @
1aaf5343
...
...
@@ -77,7 +77,16 @@
</select>
<select
id=
"selectListByStoreId"
parameterType=
"Long"
resultMap=
"SConsumerResult"
>
select t1.id, t1.account, t1.nick_name, t1.avatar, t1.phone, t1.level, t1.role_type, t1.sex, t1.addres, t1.amount,
select DISTINCT t1.id,
t1.account,
t1.nick_name,
t1.avatar,
t1.phone,
t1.level,
t1.role_type,
t1.sex,
t1.addres,
t1.amount,
t1.free_amount, t1.total_times, t1.duration, t1.status, t1.pwd, t1.create_time, t1.last_login_time
from s_consumer t1
left join s_store_consumer t2 on t2.consumer_id = t1.id
...
...
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