updateTime

master
chengqf 2 years ago
parent fd96be91ed
commit 7ac684ac8f

@ -255,7 +255,7 @@ public class IdcServiceImpl implements IdcService {
try { try {
String[] tnames = t.split("/"); String[] tnames = t.split("/");
String lastUpdateTime = getUpdateTime(tnames[2] + "." + tnames[0]); String lastUpdateTime = getUpdateTime(tnames[2] + "." + tnames[0]+"."+tnames[1]);
Date nowUpdateTime = new Date(); Date nowUpdateTime = new Date();
// if (!StringUtils.isEmpty(tnames[0])) { // if (!StringUtils.isEmpty(tnames[0])) {
@ -301,7 +301,7 @@ public class IdcServiceImpl implements IdcService {
if (sync) { if (sync) {
result = syncMasterData(map, isUpload, syncIp); result = syncMasterData(map, isUpload, syncIp);
if (result) { if (result) {
setUpdateTime(tnames[2] + "." + tnames[0], DateUtil.formatDate(nowUpdateTime, "yyyy-MM-dd HH:mm:ss")); setUpdateTime(tnames[2] + "." + tnames[0]+"."+tnames[1], DateUtil.formatDate(nowUpdateTime, "yyyy-MM-dd HH:mm:ss"));
} }
} }
//} //}

Loading…
Cancel
Save