From 6acd21c9e549b8b9629cdf50fbcb4535c3c89adf Mon Sep 17 00:00:00 2001 From: liuzhao Date: Thu, 15 Nov 2018 18:57:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Flow/RentCollection/rentcollection/FundIncomeReport.jsp | 1 + .../invoicemanager/rentplaninvoice/rentPlanInvoiceManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/FundIncomeReport.jsp b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/FundIncomeReport.jsp index 0a1ecbbd2..854f6e571 100644 --- a/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/FundIncomeReport.jsp +++ b/WebContent/Tenwa/Lease/Flow/RentCollection/rentcollection/FundIncomeReport.jsp @@ -13,6 +13,7 @@ //doTemp.appendJboWhere(" and ui.USERNAME='"+username+"'"); dwTemp.Style="1"; //--设置为Grid风格-- dwTemp.ReadOnly = "1"; //只读模式 + dwTemp.ShowSummary="1"; //汇总 dwTemp.setPageSize(10); dwTemp.genHTMLObjectWindow(userid); diff --git a/src_tenwa/com/tenwa/apzl/invoicemanager/rentplaninvoice/rentPlanInvoiceManager.java b/src_tenwa/com/tenwa/apzl/invoicemanager/rentplaninvoice/rentPlanInvoiceManager.java index c56b22fc1..0e843c51b 100644 --- a/src_tenwa/com/tenwa/apzl/invoicemanager/rentplaninvoice/rentPlanInvoiceManager.java +++ b/src_tenwa/com/tenwa/apzl/invoicemanager/rentplaninvoice/rentPlanInvoiceManager.java @@ -339,7 +339,7 @@ public class rentPlanInvoiceManager extends BaseTable { //获取合同id String contract_id = bizObject.getAttribute("contract_id").toString(); //查询本方银行账号和地址电话 - BizObject rent = JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_RENT_INCOME", "SELECT O.own_number,oi.lease_tel FROM lc_rent_income O LEFT JOIN own_info oi ON O.own_account=oi.own_name WHERE O.contract_id =:contract_id GROUP BY O.contract_id") + BizObject rent = JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_RENT_INCOME", "SELECT O.own_number,oi.lease_tel FROM O LEFT JOIN jbo.com.tenwa.entity.comm.own.OWN_INFO oi ON O.own_account=oi.own_name WHERE O.contract_id =:contract_id GROUP BY O.contract_id") .setParameter("contract_id", contract_id).getSingleResult(false); if(rent==null){ return "您的本方银行账户为空!";