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 "您的本方银行账户为空!";