| | |
| | | //调解中,可以查看,调解 |
| | | comEvent.setArchive(0); |
| | | comEvent.setSolve(0); |
| | | }else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //重新分配给该专家的事件,可以进行受理 |
| | | // comEvent.setSolve(0); |
| | | comEvent.setConciliation(0); |
| | | comEvent.setArchive(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6)){ |
| | | //调解完成,可以归档,查看 |
| | | comEvent.setSolve(0); |
| | |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | }else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventResult().equals(1)){ |
| | | }else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //分配新专家后 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setEventResult(null); |
| | | comEvent.setEventProcessStatus(1); |
| | | } |
| | | else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventResult().equals(1)){ |
| | | //设置为待受理 |
| | | comEvent.setEventResult(null); |
| | | comEvent.setEventProcessStatus(2); |
| | |
| | | ComSanshuoExpert specter = comSanShuoExpertService.getById(specialistId); |
| | | comEvent.setSpecialistAcceptTime(new Date()); |
| | | comEvent.setSpecialistName(specter.getName()); |
| | | //comEvent.setEventProcessStatus(SanShuoEventStatusEnum.UNDO.getCode()); |
| | | comEvent.setEventProcessStatus(SanShuoEventStatusEnum.VALID.getCode()); |
| | | int flag = baseMapper.updateById(comEvent); |
| | | //添加一条对应记录 |
| | | comEventMapper.insertEventAndExpertRecord(id, specialistId,1); |