提交 0320ab43 authored 作者: 吴德鹏's avatar 吴德鹏

订单优化

上级 2d69443d
...@@ -124,11 +124,14 @@ ...@@ -124,11 +124,14 @@
<if test="orderStatus != null and orderStatus.trim() != ''"> <if test="orderStatus != null and orderStatus.trim() != ''">
AND o.order_status LIKE concat('%',#{orderStatus},'%') AND o.order_status LIKE concat('%',#{orderStatus},'%')
</if> </if>
<if test="start != null and start.trim() != '' "> <!-- <if test="start != null and start.trim() != '' ">
AND o.order_time <![CDATA[>=]]> CONCAT('', #{start},' 00:00:00') AND o.order_time <![CDATA[>=]]> CONCAT('', #{start},' 00:00:00')
</if> </if>
<if test="end != null and end.trim() != '' "> <if test="end != null and end.trim() != '' ">
AND o.order_time <![CDATA[<=]]> CONCAT('', #{end},' 23:59:59') AND o.order_time <![CDATA[<=]]> CONCAT('', #{end},' 23:59:59')
</if>-->
<if test="start != null and start.trim() != '' and end != null and end.trim() != ''">
AND o.order_time between #{start} and #{end}
</if> </if>
<if test="payWayCode != null and payWayCode.trim() != ''"> <if test="payWayCode != null and payWayCode.trim() != ''">
AND f.pay_way_code =#{payWayCode} AND f.pay_way_code =#{payWayCode}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论