| | |
| | | .eq(SystemUser::getDeleted, Constants.ZERO) |
| | | .eq(SystemUser::getType, Constants.ZERO) |
| | | .eq(SystemUser::getMobile,platformBooks.getDriverPhone()) |
| | | .isNotNull(SystemUser::getOpenid) |
| | | .last(" limit 1 ")); |
| | | |
| | | if(Objects.nonNull(driver)&&StringUtils.isNotBlank(driver.getOpenid())){ |
| | |
| | | public void revoke(RevokeDTO revokeDTO, LoginUserInfo loginUserInfo){ |
| | | if(Objects.isNull(revokeDTO) |
| | | || Objects.isNull(revokeDTO.getId()) |
| | | || StringUtils.isBlank(revokeDTO.getInfo()) |
| | | ){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |