Quellcode durchsuchen

开票限制恢复

anderx vor 2 Jahren
Ursprung
Commit
49366b889a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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>