Commit f96b9023 authored by jiaorz's avatar jiaorz

Merge remote-tracking branch 'origin/dev' into dev

parents 6e82cebc 6f91812b
...@@ -64,8 +64,9 @@ FROM ...@@ -64,8 +64,9 @@ FROM
AND `status`=1 and commission>0 AND `status`=1 and commission>0
) as t ) as t
GROUP BY t.order_no GROUP BY t.order_no
) o LEFT JOIN ( SELECT DISTINCT order_no,user_id,source_id,order_type,img,price,title,waiting,`crt_time` FROM ) o LEFT JOIN ( SELECT order_no,user_id,source_id,order_type,img,price,title,waiting,`crt_time` FROM
app_user_selling_water ) w 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
where 1=1 where 1=1
<if test="wating!=null"> <if test="wating!=null">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment