| | |
| | | //账号获取 |
| | | expert = comSanShuoExpertService.getOne(new QueryWrapper<ComSanshuoExpert>().lambda().eq(ComSanshuoExpert::getAccount, loginUserInfoVO.getAccount())); |
| | | } |
| | | if (!comEvent.getSpecialistId().equals(expert.getId()) || !comEvent.getCurrentProcessType().equals(5)){ |
| | | if (!comEvent.getCurrentProcessType().equals(5)){ |
| | | if (comEvent.getSpecialistId().equals(expert.getId()) && comEvent.getEventProcessStatus().equals(3)){ |
| | | //更高级别分配给该专家,可以受理 |
| | | comEvent.setConciliation(0); |
| | | comEvent.setArchive(0); |
| | | //comEvent.setSolve(0); |
| | | return; |
| | | } |
| | | //已经上报或者重新分配专家,只能查看 |
| | | comEvent.setConciliation(0); |
| | | //comEvent.setArchive(0); |
| | |
| | | comEvent.setArchive(0); |
| | | comEvent.setConciliation(0); |
| | | comEvent.setDistribution(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | } |
| | | else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //分配新专家后 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setEventResult(null); |
| | | comEvent.setEventProcessStatus(1); |
| | | }else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setSolve(0); |
| | | comEvent.setArchive(0); |
| | |
| | | //关闭调解和归档 |
| | | comEvent.setArchive(0); |
| | | comEvent.setConciliation(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | } |
| | | else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //分配新专家后 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setEventResult(null); |
| | | comEvent.setEventProcessStatus(1); |
| | | }else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | comEvent.setSolve(0); |
| | | }else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //分配新专家后 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setEventResult(null); |
| | | comEvent.setEventProcessStatus(1); |
| | | } |
| | |
| | | //待受理和待验证状态,可以受理,分配专家 |
| | | //关闭调解和归档 |
| | | comEvent.setArchive(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setConciliation(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setChangeExpert(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(3)){ |
| | | //新分配给专家并且专家还未受理 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setArchive(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventSucceed().equals(2)){ |
| | | //comEvent.setConciliation(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setSolve(0); |
| | | } |
| | | else if (comEvent.getEventProcessStatus().equals(5)){ |
| | | //调解中,可以查看,调解,更换专家,删除 |
| | | comEvent.setDistribution(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setArchive(0); |
| | | } else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventResult().equals(1)){ |
| | | //失败后转交三说会堂 |
| | | comEvent.setSolve(0); |
| | | comEvent.setDistribution(0); |
| | | comEvent.setConciliation(0); |
| | | //comEvent.setChangeExpert(0); |
| | | } |
| | | else if (comEvent.getEventProcessStatus().equals(6) && comEvent.getEventSucceed().equals(2)){ |
| | | //调解完成,可以归档,查看 |
| | | comEvent.setConciliation(0); |
| | | comEvent.setSolve(0); |
| | | comEvent.setDistribution(0); |
| | | comEvent.setChangeExpert(0); |
| | |
| | | comEvent.setSolve(0); |
| | | comEvent.setDistribution(0); |
| | | comEvent.setChangeExpert(0); |
| | | comEvent.setConciliation(0); |
| | | } |
| | | } |
| | | } |