|
@@ -54,7 +54,7 @@ public class TmContractorServiceImpl extends ServiceImpl<ITmContractorMapper, Tm
|
|
|
if(!numList.isEmpty()){
|
|
|
throw new BusinessException(ResultCode.SCENE_CONTRACTOR_ERROR);
|
|
|
}
|
|
|
- Company company = companyService.getBySceneNum(param.getNum());
|
|
|
+ Company company = companyService.getBySceneNum(num);
|
|
|
if(company == null || company.getManagerId() == null){
|
|
|
throw new BusinessException(ResultCode.SCENE_COMPANY_ERROR);
|
|
|
}
|