Browse Source

开票限制恢复

anderx 2 years ago
parent
commit
49366b889a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/TOrderInvoiceMapper.xml

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