Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
352a7359
Commit
352a7359
authored
Nov 18, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金
parent
dadd491e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
AppUserSellingWaterMapper.xml
...n/src/main/resources/mapper/AppUserSellingWaterMapper.xml
+5
-3
No files found.
ace-modules/ace-admin/src/main/resources/mapper/AppUserSellingWaterMapper.xml
View file @
352a7359
...
...
@@ -82,15 +82,15 @@ FROM
and `waiting`= #{wating} and
<![CDATA[
o.`type`<>
1 ]]>
</if>
ORDER BY `crt_time`
ORDER BY `crt_time`
DESC
</select>
<select
id=
"selectSellingWaterPage"
resultType=
"com.github.wxiaoqi.security.admin.dto.UserSellingWaterAdminDTO"
>
SELECT
ausw.*,
aul.username AS `phone`,
IFNULL(aud.realname,au
d.nick
name) AS `sourceName`,
IFNULL(audd.realname,au
dd.nick
name) AS `userName`
IFNULL(aud.realname,au
ll.user
name) AS `sourceName`,
IFNULL(audd.realname,au
l.user
name) AS `userName`
FROM
( SELECT * FROM `app_user_selling_water` WHERE 1 = 1
<if
test=
"status !=null"
>
...
...
@@ -117,10 +117,12 @@ FROM
WHERE `username` = #{phone}
</if>
) AS aul ON aul.id = ausw.user_id
INNER JOIN `app_user_login` AS `aull` ON aull.id=ausw.source_id
INNER JOIN `app_user_detail` AS aud ON aud.userid = ausw.source_id
INNER JOIN ( SELECT * FROM `app_user_detail`
<if
test=
"userName!=null and userName!=' '"
>
WHERE `realname` LIKE CONCAT('%',#{userName},'%') OR `nickname` LIKE CONCAT('%',#{userName},'%')
</if>
) AS audd ON audd.userid = ausw.user_id
ORDER BY ausw.crt_time DESC
</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