Commit 82e296a3 authored by hezhen's avatar hezhen

Merge branch 'holiday-price' into dev

parents a7b3256d 1b0b226e
......@@ -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>
......
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