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
82e296a3
Commit
82e296a3
authored
Nov 19, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'holiday-price' into dev
parents
a7b3256d
1b0b226e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
AppUserSellingWaterMapper.xml
...n/src/main/resources/mapper/AppUserSellingWaterMapper.xml
+5
-4
No files found.
ace-modules/ace-admin/src/main/resources/mapper/AppUserSellingWaterMapper.xml
View file @
82e296a3
...
...
@@ -62,7 +62,8 @@ FROM
) AS `f` ON e.order_no = f.order_no
-->
SELECT wa.* FROM
(
SELECT w.*,o.commission as commission ,
<!--o.type-->
CASE
WHEN fcommission>0 THEN
(CASE
...
...
@@ -83,11 +84,11 @@ FROM
) o LEFT JOIN ( SELECT order_no,user_id,source_id,order_type,img,price,title,waiting,`crt_time` FROM
app_user_selling_water WHERE
id IN ( SELECT MAX( id ) FROM app_user_selling_water GROUP BY order_no)) w
ON o.order_no=w.order_no
ON o.order_no=w.order_no
) wa
where 1=1
<if
test=
"wating!=null"
>
and
`waiting`
= #{wating} and
<![CDATA[
o.`type`
<>
1 ]]>
and
wa.waiting
= #{wating} and
<![CDATA[
wa.sellerStatus
<>
1 ]]>
</if>
ORDER BY `crt_time` DESC
</select>
...
...
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