修改时间状态为未发送数据不更新为当前时间

version1
admin 2 years ago
parent d87b1f98b7
commit 77240ba39a

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

Loading…
Cancel
Save