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
0ff28b77
Commit
0ff28b77
authored
Jan 17, 2020
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票
parent
4e1cef72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MyWaterMapper.xml
...les/ace-admin/src/main/resources/mapper/MyWaterMapper.xml
+2
-2
No files found.
ace-modules/ace-admin/src/main/resources/mapper/MyWaterMapper.xml
View file @
0ff28b77
...
...
@@ -63,8 +63,8 @@ FROM
INNER JOIN ( SELECT `id`, `username` FROM `app_user_login`
<if
test=
"phone != null and phone != ''"
>
WHERE `username`=#{phone}
</if>
) AS `aul` ON aul.id = w.user_id
INNER JOIN ( SELECT `userid`, `nickname`, `realname` FROM `app_user_detail`
<if
test=
"username != null and username != ''"
>
INNER JOIN ( SELECT `userid`, `nickname`, `realname`
,channel
FROM `app_user_detail`
<if
test=
"username != null and username != ''"
>
WHERE nickname =#{username} OR realname =#{username}
</if>
) AS `aud` ON aud.userid = aul.id ORDER BY `totalAmount` DESC
</if>
) AS `aud` ON aud.userid = aul.id
where aud.channel >0
ORDER BY `totalAmount` 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