Commit 6c8dfd64 authored by libin's avatar libin

Merge branch 'master-wallet-bug-fix' into dev

parents dd779c9d 4e1fbe65
......@@ -67,16 +67,10 @@ FROM
) o LEFT JOIN ( SELECT DISTINCT order_no,user_id,source_id,order_type,img,price,title,waiting,`crt_time` FROM app_user_selling_water ) w
ON o.order_no=w.order_no
where 1=1
<choose>
<when test="wating!=null">
and `waiting`= #{wating}
</when>
<otherwise>
and <![CDATA[
o.`type`<>1
]]>
</otherwise>
</choose>
<if test="wating!=null">
and `waiting`= #{wating} and <![CDATA[
o.`type`<>1 ]]>
</if>
ORDER BY `crt_time`
</select>
</mapper>
\ No newline at end of file
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