From f906086b5a649bf9fe221bb2504dfac7b77c97e6 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Fri, 5 Jul 2019 14:39:17 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BA=A7=E5=93=81=E6=9D=83=E9=99=90bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9B=202.=E9=B9=8F=E5=85=83BUG=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/ProductManage/ProductConfig/ProductCatalogList.jsp | 2 +- .../com/tenwa/httpclient/controller/BigDataController.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WebContent/ProductManage/ProductConfig/ProductCatalogList.jsp b/WebContent/ProductManage/ProductConfig/ProductCatalogList.jsp index d785a1f1d..42923209a 100644 --- a/WebContent/ProductManage/ProductConfig/ProductCatalogList.jsp +++ b/WebContent/ProductManage/ProductConfig/ProductCatalogList.jsp @@ -11,7 +11,7 @@ dwTemp.setParameter("SortNo", sortNo+"%"); dwTemp.genHTMLObjectWindow(""); String flag="false"; - if("administrator".equals(userId)||"80009U00000001".equals(userid)){ + if("administrator".equals(userId)||"80009U00000001".equals(userId)){ flag="true"; } String sButtons[][] = { diff --git a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java index 228a50021..343233685 100644 --- a/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java +++ b/src_tenwa/com/tenwa/httpclient/controller/BigDataController.java @@ -206,8 +206,9 @@ public class BigDataController { keyword.append(",keyword3"); keywordValue.append(",'"+FlowNo+"'"); } + //安鹏客户要求只保留最新数据 if("ebank_af".equals(table)){ - SqlObject sql_d = new SqlObject("delete from bigdata_ebank_af where fullcertId="+CurPage.getParameter("fullcertId")); + SqlObject sql_d = new SqlObject("delete from bigdata_ebank_af where fullcertId='"+CurPage.getParameter("fullcertId")+"'"); Sqlca.executeSQL(sql_d); } SqlObject sql = new SqlObject(("insert into bigdata_" + table + " (id," + keyword.toString() + ",xml_data,html_data,"