You've already forked FrameTour-BE
都换成pay_at
This commit is contained in:
@@ -65,10 +65,10 @@
|
|||||||
from `order`
|
from `order`
|
||||||
where scenic_id = #{scenicId}
|
where scenic_id = #{scenicId}
|
||||||
<if test="startTime!= null">
|
<if test="startTime!= null">
|
||||||
and create_at >= #{startTime}
|
and pay_at >= #{startTime}
|
||||||
</if>
|
</if>
|
||||||
<if test="endTime!= null">
|
<if test="endTime!= null">
|
||||||
and create_at <= #{endTime}
|
and pay_at <= #{endTime}
|
||||||
</if>
|
</if>
|
||||||
group by member_id
|
group by member_id
|
||||||
)a
|
)a
|
||||||
@@ -251,12 +251,12 @@
|
|||||||
select count(1) as count
|
select count(1) as count
|
||||||
from `order`
|
from `order`
|
||||||
where
|
where
|
||||||
pay_at is not null and scenic_id = #{scenicId}
|
(status = 1 or status = 2) and scenic_id = #{scenicId}
|
||||||
<if test="startTime!= null">
|
<if test="startTime!= null">
|
||||||
and create_at >= #{startTime}
|
and pay_at >= #{startTime}
|
||||||
</if>
|
</if>
|
||||||
<if test="endTime!= null">
|
<if test="endTime!= null">
|
||||||
and create_at <= #{endTime}
|
and pay_at <= #{endTime}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="countRefundOfOrder" resultType="java.lang.Integer">
|
<select id="countRefundOfOrder" resultType="java.lang.Integer">
|
||||||
@@ -265,10 +265,10 @@
|
|||||||
where
|
where
|
||||||
refund_status = 1 and scenic_id = #{scenicId}
|
refund_status = 1 and scenic_id = #{scenicId}
|
||||||
<if test="startTime!= null">
|
<if test="startTime!= null">
|
||||||
and create_at >= #{startTime}
|
and refund_at >= #{startTime}
|
||||||
</if>
|
</if>
|
||||||
<if test="endTime!= null">
|
<if test="endTime!= null">
|
||||||
and create_at <= #{endTime}
|
and refund_at <= #{endTime}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="countRefundAmount" resultType="java.math.BigDecimal">
|
<select id="countRefundAmount" resultType="java.math.BigDecimal">
|
||||||
|
Reference in New Issue
Block a user