|
@@ -53,9 +53,7 @@ public class TmContractorServiceImpl extends ServiceImpl<ITmContractorMapper, Tm
|
|
|
}
|
|
|
for (String num : param.getNumList()) {
|
|
|
List<TmContractorNum> numList = tmContractorNumService.getByNum(num);
|
|
|
- log.info(numList.toString());
|
|
|
- log.info(numList.size() +"");
|
|
|
- if(numList != null && numList.size() >0){
|
|
|
+ if(!numList.isEmpty()){
|
|
|
throw new BusinessException(ResultCode.SCENE_CONTRACTOR_ERROR);
|
|
|
}
|
|
|
User contractorUser = userService.getByUserName(param.getUserName());
|