lyhzzz 1 year ago
parent
commit
5952be8f0a

+ 1 - 1
src/main/java/com/fdkankan/manage_jp/service/impl/TmContractorServiceImpl.java

@@ -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);
             }