@@ -336,12 +336,9 @@
</select>
<select id="findOrdersByStatus" resultMap="StudentPaymentOrder">
- SELECT *
- FROM student_payment_order
+ SELECT * FROM student_payment_order
WHERE status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
- AND payment_channel_ =
- #{paymentChannel}
- LIMIT 100
+ AND payment_channel_ = #{paymentChannel} LIMIT 20
<!-- 查询支付中超时订单 -->