|
@@ -1029,10 +1029,12 @@
|
|
ifnull(a.actual_amount_, 0) + ifnull(a.balance_payment_amount_, 0) as totalAmount,
|
|
ifnull(a.actual_amount_, 0) + ifnull(a.balance_payment_amount_, 0) as totalAmount,
|
|
a.create_time_ as createTime
|
|
a.create_time_ as createTime
|
|
from student_payment_order as a
|
|
from student_payment_order as a
|
|
- where status_ = 'SUCCESS'
|
|
|
|
- and create_time_ >= #{param.startDate}
|
|
|
|
|
|
+ where create_time_ >= #{param.startDate}
|
|
and create_time_ <![CDATA[ < ]]> #{param.endDate}
|
|
and create_time_ <![CDATA[ < ]]> #{param.endDate}
|
|
and user_id_ = #{param.userId}
|
|
and user_id_ = #{param.userId}
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ and status_ = #{status}
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryOrderDetail" resultMap="QueryOrderDetail">
|
|
<select id="queryOrderDetail" resultMap="QueryOrderDetail">
|