|
|
@@ -83,6 +83,9 @@ public class HlgCompanySubcontractorController {
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
|
|
HttpServletRequest req) {
|
|
|
Result<IPage<HlgCompanySubcontractor>> result = new Result<IPage<HlgCompanySubcontractor>>();
|
|
|
+ if(hlgCompanySubcontractor.getCompanyId()==null){
|
|
|
+ return result;
|
|
|
+ }
|
|
|
HlgCompany hlgCompany=hlgCompanyService.getById(hlgCompanySubcontractor.getCompanyId());
|
|
|
String accessToken = OauthTokenUtils.getDayAccessToken();
|
|
|
String requestUrl = OauthApi.companySubcontractorList;
|