|
|
|
@ -806,6 +806,14 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
//如果事件已经存在处理流程,且当前处理流程状态大于之前的状态则更新最新的处理状态
|
|
|
|
entity.setReplyStatus(formDTO.getManageStatus()); |
|
|
|
} |
|
|
|
//修正或同步更新事件响应级别
|
|
|
|
if (formDTO.getManageStatus() >= 2 && !entity.getEventType().equals("3")) { |
|
|
|
//如果大于等2,则标定蓝灯事件
|
|
|
|
entity.setEventType("3"); |
|
|
|
} else if (formDTO.getManageStatus() == 1 && !entity.getEventType().equals("1")) { |
|
|
|
//如果等于1,则标定黄灯事件,其他均为红灯事件
|
|
|
|
entity.setEventType("1"); |
|
|
|
} |
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
|
|
//3.新增回复数据
|
|
|
|
@ -2017,7 +2025,7 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
dto.setGuiDangRate(new BigDecimal((double) temp / total).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
}catch (Exception e){ |
|
|
|
} catch (Exception e) { |
|
|
|
e.getMessage(); |
|
|
|
} |
|
|
|
return dto; |
|
|
|
|