fix: 修复保存消息通知时的操作日志问题
This commit is contained in:
parent
cc3a4cdc29
commit
735689ce12
|
@ -215,18 +215,11 @@ public class NoticeService {
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
task = new MessageTask();
|
task = new MessageTask();
|
||||||
|
}
|
||||||
|
}
|
||||||
List<DetailColumn> columns = ReflexObjectUtil.getColumns(task, SystemReference.messageColumns);
|
List<DetailColumn> columns = ReflexObjectUtil.getColumns(task, SystemReference.messageColumns);
|
||||||
OperatingLogDetails details = new OperatingLogDetails(JSON.toJSONString(task.getId()), null,
|
OperatingLogDetails details = new OperatingLogDetails(JSON.toJSONString(task.getId()), null,
|
||||||
StatusReference.statusMap.containsKey(task.getTaskType()) ? StatusReference.statusMap.get(task.getTaskType()) : task.getTaskType(), task.getUserId(), columns);
|
StatusReference.statusMap.containsKey(task.getTaskType()) ? StatusReference.statusMap.get(task.getTaskType()) : task.getTaskType(), null, columns);
|
||||||
return JSON.toJSONString(details);
|
return JSON.toJSONString(details);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (task != null) {
|
|
||||||
List<DetailColumn> columns = ReflexObjectUtil.getColumns(task, SystemReference.messageColumns);
|
|
||||||
OperatingLogDetails details = new OperatingLogDetails(JSON.toJSONString(task.getId()), null,
|
|
||||||
StatusReference.statusMap.containsKey(task.getTaskType()) ? StatusReference.statusMap.get(task.getTaskType()) : task.getTaskType(), task.getUserId(), columns);
|
|
||||||
return JSON.toJSONString(details);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue