|
|
|
|
|
|
|
|
accidentUpdate.setUpdateUser(userId); |
|
|
accidentUpdate.setUpdateUser(userId); |
|
|
accidentUpdate.setUpdateTime(DateUtils.now()); |
|
|
accidentUpdate.setUpdateTime(DateUtils.now()); |
|
|
accidentUpdate.setEndTime(DateUtils.now()); |
|
|
accidentUpdate.setEndTime(DateUtils.now()); |
|
|
|
|
|
accidentUpdate.setStatus(AccidentStatusEnum.COMPLETED.getCode()); |
|
|
Integer count = accidentMapper.updateById(accidentUpdate); |
|
|
Integer count = accidentMapper.updateById(accidentUpdate); |
|
|
if (count <= 0) { |
|
|
if (count <= 0) { |
|
|
log.info("事故核实完成,修改预警信息失败"); |
|
|
log.info("事故核实完成,修改预警信息失败"); |