|
|
@ -217,6 +217,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
List<Map<String, String>> keyList = dbDao.listKeyMysql(tnames[2]);
|
|
|
|
List<Map<String, String>> keyList = dbDao.listKeyMysql(tnames[2]);
|
|
|
|
String keyColumn = keyList!=null&&keyList.size()>0 ? keyList.get(0).get("columnName").toString() : "id";
|
|
|
|
String keyColumn = keyList!=null&&keyList.size()>0 ? keyList.get(0).get("columnName").toString() : "id";
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
Map<String,Object> map = new HashMap<String,Object>();
|
|
|
|
|
|
|
|
|
|
|
|
String sqlWhere = "";
|
|
|
|
String sqlWhere = "";
|
|
|
|
if(!StringUtils.isEmpty(tnames[6])) {
|
|
|
|
if(!StringUtils.isEmpty(tnames[6])) {
|
|
|
|
sqlWhere+=" "+tnames[6]+">=cast('"+lastUpdateTime+"' as datetime)";
|
|
|
|
sqlWhere+=" "+tnames[6]+">=cast('"+lastUpdateTime+"' as datetime)";
|
|
|
|