Prechádzať zdrojové kódy

修复任务进展消息点击500错误

seyason 2 rokov pred
rodič
commit
6e7b8f904c

+ 2 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/java/com/management/platform/service/impl/TaskProgressServiceImpl.java

@@ -98,7 +98,8 @@ public class TaskProgressServiceImpl extends ServiceImpl<TaskProgressMapper, Tas
                 tprogressPaticipatorsMapper.insert(item);
                 //发消息通知进展
                 Information information = new Information();
-                information.setContent(""+progress.getTaskId());
+                Integer projectId = taskMapper.selectById(progress.getTaskId()).getProjectId();
+                information.setContent(""+projectId);
                 information.setMsg(updateStr);
                 information.setUserId(user.getId());
                 information.setType(2);