Commit c3096bc3 authored by 廖旭伟's avatar 廖旭伟

修改材料附件转换任务

parent f3f286dc
......@@ -107,6 +107,12 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
update.setPreviewUrl(prePath+newName);
update.setUpdateTime(new Date());
matterDatumFileService.update(update);
try {
log.info("事项材料处理暂停20秒");
Thread.sleep(20000);
}catch (Exception e){
log.error("文件转换任务休眠失败",e);
}
}
convertIdList.add(datumEntity.getMatterId());
}
......@@ -121,6 +127,7 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
updateEntity.setIsConvert(1);
updateEntity.setUpdateTime(new Date());
siteMatterService.update(updateEntity);
log.info("站点事项已更新,id:"+matterEntity.getId());
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment