|
|
|
@ -209,7 +209,8 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
String[] syncTables = TableUtils.syncTables();
|
|
|
|
|
for (int i = 0; i < syncTables.length; i++) {
|
|
|
|
|
String[] tnames = syncTables[i].split("/");
|
|
|
|
|
boolean sync = (StringUtils.isEmpty(tnames[0])&&StringUtils.isEmpty(tnames[1]))||
|
|
|
|
|
boolean sync = ((StringUtils.isEmpty(tnames[0])||(tnames[0]!=null&&tnames[0].equals("null")))&&
|
|
|
|
|
(StringUtils.isEmpty(tnames[1])||(tnames[1]!=null&&tnames[1].equals("null"))))||
|
|
|
|
|
(!StringUtils.isEmpty(tnames[0]) && map != null && map.get(tnames[0]) != null && map.get(tnames[0]).toString().equals("1"));
|
|
|
|
|
saveIdcLog("---", "", map.get(tnames[0]) + syncTables[i], 0, 0);
|
|
|
|
|
if (sync) {
|
|
|
|
|