去掉不需要的TODO

This commit is contained in:
xuetao.li
2023-04-19 09:36:38 +08:00
parent 6411e11441
commit 2767e7e737
7 changed files with 1 additions and 15 deletions
@@ -32,7 +32,6 @@ public class AdcDaBaseExceptionAdvice {
@ResponseBody
public ResponseMessage handlerAdcDaBaseException(Exception exception) {
logger.error(exception.getMessage(), exception);
// TODO 在数据库中记录程序异常,这个地方的异常是未处理的异常,需要管理员查看并进行处理以防重复出现
return Result.error(ResponseMessageCodeEnum.ERROR.getCode(), "程序异常,请重试。如果重复出现请联系管理员处理!");
}
@@ -31,7 +31,6 @@ public class InstanceService {
private HistoryService historyService;
public byte[] getProcessImage(String processInstanceId) throws Exception {
// TODO 获取流程图像,已执行节点和流程线高亮显示
// 获取历史流程实例
HistoricProcessInstance historicProcessInstance = queryHistoricProcessInstance(processInstanceId);
if (historicProcessInstance == null) {
@@ -72,7 +71,6 @@ public class InstanceService {
}
private HistoricProcessInstance queryHistoricProcessInstance(String processInstanceId) {
// TODO 通过流程id查询流程
return historyService.createHistoricProcessInstanceQuery().processInstanceId(processInstanceId).singleResult();
}
@@ -1175,7 +1175,7 @@ public class TodoTaskController extends BaseAction {
* 根据用户idList获取用户信息
*/
public List<UserVO> getUserInfoByIdList(List<String> userIdList){
// TODO 根据用户id列表获取用户信息,不完善
// TODO 根据用户id列表获取用户信息,不完善 -- lixuetao改
List<UserVO> userList = this.userEoService.getUserByIdList(userIdList);
return userList;
}
@@ -7,7 +7,6 @@ import java.util.HashMap;
import java.util.Map;
/**
* @Description: TODO
* @author: super_liu
* @date: 2021年03月04日 17:13
*/
@@ -16,7 +16,6 @@ import java.util.List;
import java.util.Map;
/**
* TODO 工作流表结构转换
* @author hxj
*
*/
@@ -85,7 +85,6 @@ public class DateTools {
Timestamp time = new Timestamp(d.getTime());
return DateTools.addYear(time, 1).toString();
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -100,7 +99,6 @@ public class DateTools {
Timestamp time = new Timestamp(d.getTime());
return DateTools.addYear(time, -1).toString();
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -180,7 +178,6 @@ public class DateTools {
Date d = sdf.parse(date);
return new Timestamp(d.getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -194,7 +191,6 @@ public class DateTools {
Timestamp time = new Timestamp(d.getTime());
return DateTools.addDay(time, 1).toString();
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -217,7 +213,6 @@ public class DateTools {
Date d = sdf.parse(datetime);
return new Timestamp(d.getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -254,7 +249,6 @@ public class DateTools {
Date d = sdf.parse(date);
return new java.sql.Date(d.getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -270,7 +264,6 @@ public class DateTools {
Date d = sdf.parse(date);
return new java.sql.Date(d.getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -289,7 +282,6 @@ public class DateTools {
Date d = sdf.parse(date);
return new java.sql.Date(d.getTime());
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
@@ -252,7 +252,6 @@ public class FileTools {
writer.write(content);
writer.flush();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
try {