瀏覽代碼

财务开票逻辑修改

anderx 3 年之前
父節點
當前提交
d1ac94fbc1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>