feat: There is no way the,
This commit is contained in:
@@ -83,7 +83,7 @@ public class SendDeleteMQService {
|
|||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyy-MM-dd HH:mm:ss");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
if(todoAppResult.getSign().equals("0") || todoAppResult.getMassage().equals("操作成功")){
|
if(todoAppResult.getSign().equals("0") || todoAppResult.getMassage().equals("操作成功")){
|
||||||
logger.info("--------------------------成功发送 ESP 已办任务----------------------------");
|
logger.info("--------------------------成功删除 ESP 已办任务----------------------------");
|
||||||
QueryWrapper wrapper = new QueryWrapper();
|
QueryWrapper wrapper = new QueryWrapper();
|
||||||
wrapper.eq("TODO_ID",todoId);
|
wrapper.eq("TODO_ID",todoId);
|
||||||
wrapper.eq("MSG_TYPE","3");
|
wrapper.eq("MSG_TYPE","3");
|
||||||
@@ -99,7 +99,7 @@ public class SendDeleteMQService {
|
|||||||
sendTodoSave(object,todoId, sdf, "2",todoAppResult.getMassage());
|
sendTodoSave(object,todoId, sdf, "2",todoAppResult.getMassage());
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
logger.error("ESP 发送待办任务异常 :" + "SIGN: "+todoAppResult.getSign()+",MASSAGE: "+todoAppResult.getMassage());
|
logger.error("ESP 发送删除任务异常 :" + "SIGN: "+todoAppResult.getSign()+",MASSAGE: "+todoAppResult.getMassage());
|
||||||
// 重试发送待办
|
// 重试发送待办
|
||||||
logger.info("重试发送待办");
|
logger.info("重试发送待办");
|
||||||
this.restartSendMq(object,todoId,todoAppResult.getMassage());
|
this.restartSendMq(object,todoId,todoAppResult.getMassage());
|
||||||
|
|||||||
+1
-1
@@ -83,7 +83,7 @@ public class WebServiceOAServiceImpl implements WebServiceOAService {
|
|||||||
@Async
|
@Async
|
||||||
public void deleteOAByMandatory(String todoId,String assignee){
|
public void deleteOAByMandatory(String todoId,String assignee){
|
||||||
CreateMQService oaService = SpringContextUtil.getBean(CreateMQService.class);
|
CreateMQService oaService = SpringContextUtil.getBean(CreateMQService.class);
|
||||||
log.info("--------------------------ESP 发送删除待办任务 及 再次发送待办----------------------------");
|
log.info("--------------------------ESP 发送单个删除OA待办----------------------------");
|
||||||
|
|
||||||
if(StringUtils.isNotBlank(todoId) && StringUtils.isNotBlank(assignee)){
|
if(StringUtils.isNotBlank(todoId) && StringUtils.isNotBlank(assignee)){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user