|  |  | 
 |  |  | import com.doumee.core.exception.BusinessException; | 
 |  |  | import com.doumee.dao.business.MemberMapper; | 
 |  |  | import com.doumee.dao.business.UsersMapper; | 
 |  |  | import com.doumee.dao.business.model.Users; | 
 |  |  | import com.doumee.dao.web.response.ZTBaseInfoResponse; | 
 |  |  | import com.doumee.service.business.GetCrmDataService; | 
 |  |  | import com.doumee.service.business.GetZhongTaiDataService; | 
 |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private SystemDictDataBiz systemDictDataBiz; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public CRMBaseResponse<List<CRMCustomerListResponse>> getCrmCustomerList(CrmCustomerListRequest crmCustomerListRequest){ | 
 |  |  |         if(Objects.isNull(crmCustomerListRequest) | 
 |  |  |          || Objects.isNull(crmCustomerListRequest.getPage()) | 
 |  |  |          || Objects.isNull(crmCustomerListRequest.getPageSize()) | 
 |  |  |          || StringUtils.isBlank(crmCustomerListRequest.getFlag()) | 
 |  |  |         || Objects.isNull(crmCustomerListRequest.getUserId()) | 
 |  |  |         ){ | 
 |  |  |             throw new BusinessException(ResponseStatus.BAD_REQUEST); | 
 |  |  |         } | 
 |  |  |         Users users = usersMapper.selectById(crmCustomerListRequest.getUserId()); | 
 |  |  |         crmCustomerListRequest.setUserName(users.getIamUsername()); | 
 |  |  |         CRMBaseResponse<List<CRMCustomerListResponse>> crmBaseResponse = zbomCRMService.getCustomerList(crmCustomerListRequest); | 
 |  |  |         if(Objects.isNull(crmBaseResponse)){ | 
 |  |  |             throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"CRM接口请求失败!"); |