@@ -360,7 +360,7 @@
<select id="checkApplyAmount" resultType="java.lang.String">
select ifnull(sum(amount),0) from t_order_invoice
- where order_no= #{orderNo,jdbcType=VARCHAR} and status =2
+ where order_no= #{orderNo,jdbcType=VARCHAR} and status in (0,1,2,3)
<if test="id != null">
and id != #{id,jdbcType=INTEGER}
</if>