|
@@ -68,7 +68,7 @@ public class TmContractorServiceImpl extends ServiceImpl<ITmContractorMapper, Tm
|
|
|
throw new BusinessException(ResultCode.CONTRACTOR_USER_ERROR);
|
|
|
}
|
|
|
if(mainContractorUser.getId().equals(contractorUser.getId()) || mainContractorUser.getCompanyId().equals(contractorUser.getCompanyId())){
|
|
|
- throw new BusinessException(ResultCode.CONTRACTOR_ERROR);
|
|
|
+ throw new BusinessException(ResultCode.SCENE_CONTRACTOR_ERROR2);
|
|
|
}
|
|
|
|
|
|
TmContractor tmContractor = this.getByMainContractor(mainContractorUser.getId(),contractorUser.getId());
|