|
|
|
@ -374,7 +374,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
dbDao.save(sql);
|
|
|
|
|
}
|
|
|
|
|
private boolean sendOnPage(String messageType,String tableName,Map<String,Object> params) {
|
|
|
|
|
boolean success=true;
|
|
|
|
|
boolean success=false;
|
|
|
|
|
Map<String,String> table = dbDao.getMysql(tableName);
|
|
|
|
|
if(!(table!=null&&table.get("tableName")!=null))
|
|
|
|
|
return false;
|
|
|
|
@ -395,6 +395,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
orderNum++;
|
|
|
|
|
saveIdcLog(messageType,"",tableName +">"+where,0,total);
|
|
|
|
|
if(total>0) {
|
|
|
|
|
success = true;
|
|
|
|
|
params.put("page", 0);
|
|
|
|
|
params.put("limit", limit);
|
|
|
|
|
for(int i=0;i<Math.ceil(total/limit)+1;i++) {
|
|
|
|
@ -435,6 +436,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return success;
|
|
|
|
|
}
|
|
|
|
|