Procházet zdrojové kódy

开票限制恢复

anderx před 2 roky
rodič
revize
49366b889a

+ 1 - 1
src/main/java/com/goafanti/common/mapper/TOrderInvoiceMapper.xml

@@ -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>