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