From 2a962c04a50386c2b6528c4ecf3254b7ae7d98ca Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 2 Apr 2023 18:32:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java index ec102693..332e9f00 100644 --- a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java +++ b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java @@ -217,6 +217,7 @@ public class IdcServiceImpl implements IdcService { List> keyList = dbDao.listKeyMysql(tnames[2]); String keyColumn = keyList!=null&&keyList.size()>0 ? keyList.get(0).get("columnName").toString() : "id"; Map map = new HashMap(); + String sqlWhere = ""; if(!StringUtils.isEmpty(tnames[6])) { sqlWhere+=" "+tnames[6]+">=cast('"+lastUpdateTime+"' as datetime)";