|
|
@ -478,8 +478,8 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven |
|
|
|
formDTO.getPageSize()).doSelectPageInfo(() -> baseDao.queryMyReported(formDTO.getUserId(), |
|
|
|
formDTO.getStatusCondition())); |
|
|
|
result.getList().forEach(resultDTO->{ |
|
|
|
if(EventConstant.EVENT_STATUS_CLOSED_CASE.equals(resultDTO.getStatus())){ |
|
|
|
// 已办结的不显示回复按钮
|
|
|
|
if(EventConstant.EVENT_STATUS_CLOSED_CASE.equals(resultDTO.getStatus())||resultDTO.getShiftProject()){ |
|
|
|
// 已办结的、立项的不显示回复按钮
|
|
|
|
resultDTO.setReplyButtonFlag("false"); |
|
|
|
}else{ |
|
|
|
// 处理中的事件
|
|
|
@ -598,6 +598,7 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven |
|
|
|
resiEventEntity.setLatestOperatedTime(formDTO.getShiftProjectTime()); |
|
|
|
resiEventEntity.setShiftProject(true); |
|
|
|
resiEventEntity.setRedDot(true); |
|
|
|
resiEventEntity.setProjectId(formDTO.getProjectId()); |
|
|
|
baseDao.updateById(resiEventEntity); |
|
|
|
// 2、记录操作日志
|
|
|
|
ResiEventOperationLogEntity reCallLog=new ResiEventOperationLogEntity(); |
|
|
@ -607,7 +608,7 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven |
|
|
|
reCallLog.setUserIdentity(EventConstant.STAFF); |
|
|
|
reCallLog.setActionCode(ResiEventAction.SHIFIT_PROJECT.getCode()); |
|
|
|
reCallLog.setActionDesc(ResiEventAction.SHIFIT_PROJECT.getDesc()); |
|
|
|
reCallLog.setOperateTime(resiEventEntity.getCloseCaseTime()); |
|
|
|
reCallLog.setOperateTime(resiEventEntity.getLatestOperatedTime()); |
|
|
|
resiEventOperationLogDao.insert(reCallLog); |
|
|
|
//3、所有被艾特的人应该都通知
|
|
|
|
resiEventMentionDao.updateRedDotShow(formDTO.getEventId(),null); |
|
|
|