From 980567c81b869cd7412c51c150aa32a9495dce0f Mon Sep 17 00:00:00 2001 From: tangfutang Date: Sun, 9 Sep 2018 16:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=89=B9=E5=BC=80?= =?UTF-8?q?=E7=A5=A8=E5=AF=B9=E8=B1=A1=E6=98=AF=E5=90=A6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E7=AC=AC=E4=B8=80=E6=9D=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E9=80=89=E6=8B=A9=E5=90=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comm/handler/LBContractInvoiceTypeInfoHandler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src_tenwa/com/tenwa/flow/comm/handler/LBContractInvoiceTypeInfoHandler.java b/src_tenwa/com/tenwa/flow/comm/handler/LBContractInvoiceTypeInfoHandler.java index 00ba4b9b9..055bac04a 100644 --- a/src_tenwa/com/tenwa/flow/comm/handler/LBContractInvoiceTypeInfoHandler.java +++ b/src_tenwa/com/tenwa/flow/comm/handler/LBContractInvoiceTypeInfoHandler.java @@ -45,12 +45,12 @@ public class LBContractInvoiceTypeInfoHandler extends CommonHandler{ if(ismainbo.size()>0){ this.errors+="默认开票已存在!"; } - }else{ + }/*else{ List ismainbo =invoicetTempManager.createQuery("FLOWUNID=:flowunid and IS_MAIN='Y' ").setParameter("flowunid",flowUnid).getResultList(false); if(ismainbo.size()==0){ this.errors+="默认开票不存在!"; } - } + }*/ }else{ if(taxacc!=null && !taxacc.equals("")){ List taxaccs =invoicetTempManager.createQuery("FLOWUNID=:flowunid and TAX_ACC=:taxacc and ID<>:id ").setParameter("flowunid",flowUnid).setParameter("taxacc",taxacc).setParameter("id",id).getResultList(false); @@ -63,12 +63,12 @@ public class LBContractInvoiceTypeInfoHandler extends CommonHandler{ if(ismainbo.size()>0){ this.errors+="默认开票已存在!"; } - }else{ + }/*else{ List ismainbo =invoicetTempManager.createQuery("FLOWUNID=:flowunid and IS_MAIN='Y' and ID<>:id ").setParameter("flowunid",flowUnid).setParameter("id",id).getResultList(false); if(ismainbo.size()==0){ this.errors+="默认开票不存在!"; } - } + }*/ } if(!this.errors.equals("")){ return false;