|
@@ -521,7 +521,9 @@ public class TaskController {
|
|
log.info("添加工作计划,给第一审核人发送信息提醒");
|
|
log.info("添加工作计划,给第一审核人发送信息提醒");
|
|
User owner = userMapper.selectById(task.getCheckFirstId());
|
|
User owner = userMapper.selectById(task.getCheckFirstId());
|
|
Information information = new Information();
|
|
Information information = new Information();
|
|
- information.setMsg("您有工作计划待审核");
|
|
|
|
|
|
+ Project project = projectMapper.selectById(task.getProjectId());
|
|
|
|
+ information.setMsg(project.getProjectName()+"项目有新的预计FTE计划审批任务,请您查收.");
|
|
|
|
+ information.setTaskId(task.getId());
|
|
information.setType(11);
|
|
information.setType(11);
|
|
information.setUserId(owner.getId());
|
|
information.setUserId(owner.getId());
|
|
information.setTime(LocalDateTime.now());
|
|
information.setTime(LocalDateTime.now());
|
|
@@ -533,7 +535,9 @@ public class TaskController {
|
|
if (isUpdate==1){
|
|
if (isUpdate==1){
|
|
User owner = userMapper.selectById(task.getCheckSecondId());
|
|
User owner = userMapper.selectById(task.getCheckSecondId());
|
|
Information information = new Information();
|
|
Information information = new Information();
|
|
- information.setMsg("您有工作计划待审核");
|
|
|
|
|
|
+ Project project = projectMapper.selectById(task.getProjectId());
|
|
|
|
+ information.setMsg(project.getProjectName()+"项目有新的预计FTE计划审批任务,请您查收.");
|
|
|
|
+ information.setTaskId(task.getId());
|
|
information.setType(11);
|
|
information.setType(11);
|
|
information.setUserId(owner.getId());
|
|
information.setUserId(owner.getId());
|
|
information.setTime(LocalDateTime.now());
|
|
information.setTime(LocalDateTime.now());
|
|
@@ -560,7 +564,9 @@ public class TaskController {
|
|
User owner = userMapper.selectById(task.getCheckFirstId());
|
|
User owner = userMapper.selectById(task.getCheckFirstId());
|
|
Information information = new Information();
|
|
Information information = new Information();
|
|
information.setType(11);
|
|
information.setType(11);
|
|
- information.setMsg("您有工作计划待审核");
|
|
|
|
|
|
+ Project project = projectMapper.selectById(task.getProjectId());
|
|
|
|
+ information.setMsg(project.getProjectName()+"项目有新的预计FTE计划审批任务,请您查收.");
|
|
|
|
+ information.setTaskId(task.getId());
|
|
information.setUserId(owner.getId());
|
|
information.setUserId(owner.getId());
|
|
information.setTime(LocalDateTime.now());
|
|
information.setTime(LocalDateTime.now());
|
|
informationService.save(information);
|
|
informationService.save(information);
|