| | |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | @RequiredArgsConstructor(onConstructor_ = {@Lazy}) |
| | | @RequiredArgsConstructor(onConstructor_ ={@Lazy}) |
| | | public class ComplaintServiceImpl extends ServiceImpl<ComplaintMapper, Complaint> implements IComplaintService { |
| | | private final ISystemUserService systemUserService; |
| | | private final IComplaintFlowService complaintFlowService; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public void assignComplain(LoginUserInfoVO loginUserInfo, Long complainId, Integer userId) { |
| | | public void assignComplain(LoginUserInfoVO loginUserInfo, Long complainId, Integer userId,String remark) { |
| | | IdentityInformation currentIdentityInformation = identityInformationService.getCurrentIdentityInformation(loginUserInfo); |
| | | if (currentIdentityInformation.getIdentity().equals(2)) { |
| | | SystemUser systemUser = currentIdentityInformation.getSystemUser(); |
| | |
| | | complaint.setAssignPersonId(userId); |
| | | complaint.setFirstStatus(1); |
| | | complaint.setAssignStatus(1); |
| | | baseMapper.updateById(complaint); |
| | | complaint.setRemark(remark); |
| | | baseMapper.updateById(complaint); |
| | | }else { |
| | | throw new ServiceException("你没有分配权限"); |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | |