记得上下班打卡 | git大法好,push需谨慎

Commit 99323be2 authored by 张国柄's avatar 张国柄

fix:会员订单支付时间区间查取边界问题;

parent 9f4118ab
...@@ -50,10 +50,12 @@ ...@@ -50,10 +50,12 @@
and amo.source = #{source} and amo.source = #{source}
</if> </if>
<if test="paymentAtStart != null and paymentAtStart != ''"> <if test="paymentAtStart != null and paymentAtStart != ''">
and amo.payment_at &gt; #{paymentAtStart} # and amo.payment_at &gt; #{paymentAtStart}
and amo.payment_at <![CDATA[>=]]> #{paymentAtStart}
</if> </if>
<if test="paymentAtEnd != null and paymentAtEnd != ''"> <if test="paymentAtEnd != null and paymentAtEnd != ''">
and amo.payment_at &lt; #{paymentAtEnd} # and amo.payment_at &lt; #{paymentAtEnd}
and amo.payment_at <![CDATA[<=]]> #{paymentAtEnd}
</if> </if>
</where> </where>
order by amo.created_at desc order by amo.created_at desc
......
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