Browse Source

财务开票逻辑修改

anderx 3 years ago
parent
commit
d1ac94fbc1
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 !=4
+	where order_no= #{orderNo,jdbcType=VARCHAR}  and status =2
 	<if test="id != null">
 	and id != #{id,jdbcType=INTEGER}
 	</if>