@@ -20,7 +20,7 @@ public class LogHistoryInfoVO extends LogHistoryInfo {
@ApiModelProperty(value = "已读状态 0=未读 1=已读")
private Integer isRead;
- @ApiModelProperty(value = "已读状态 0=否 1=是")
+ @ApiModelProperty(value = "是否可编辑 0=否 1=是")
private Integer isEdit;
@ApiModelProperty(value = "当前日志关联的任务信息List")
@@ -421,7 +421,7 @@ public class LogHistoryServiceImpl extends BaseServiceImpl<LogHistoryMapper, Log
}
ProjectCostBudget task = projectCostBudgetServiceImpl.getBaseMapper().selectById(taskId);
- if (ObjectUtil.isEmpty(task.getDeptId())) {
+ if (ObjectUtil.isEmpty(task.getDeptId()) || ObjectUtil.isEmpty(SecureUtil.getDeptId())) {
throw new ServiceException("获取部门信息失败,请联系管理员");