|
@@ -153,7 +153,7 @@ public class BizCompanyServiceImpl extends ServiceImpl<BizCompanyMapper, BizCom
|
|
|
BizCompany sourceCompany = bizCompanyMapper.selectOne(companyWrapper);
|
|
|
if(sourceCompany == null){
|
|
|
failureNum++;
|
|
|
- failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称未填写");
|
|
|
+ failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称错误");
|
|
|
continue;
|
|
|
}
|
|
|
company.setSourceId(sourceCompany.getId());
|
|
@@ -162,7 +162,7 @@ public class BizCompanyServiceImpl extends ServiceImpl<BizCompanyMapper, BizCom
|
|
|
SysUser sourceUser = sysUserMapper.selectUserByUserName(sourceName);
|
|
|
if(sourceUser == null){
|
|
|
failureNum++;
|
|
|
- failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称未填写");
|
|
|
+ failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称错误");
|
|
|
continue;
|
|
|
}
|
|
|
company.setSourceId(sourceUser.getId());
|
|
@@ -174,7 +174,7 @@ public class BizCompanyServiceImpl extends ServiceImpl<BizCompanyMapper, BizCom
|
|
|
BizChannel sourceChannel = bizChannelMapper.selectOne(channelWrapper);
|
|
|
if(sourceChannel == null){
|
|
|
failureNum++;
|
|
|
- failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称未填写");
|
|
|
+ failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源名称错误");
|
|
|
continue;
|
|
|
}
|
|
|
company.setSourceId(sourceChannel.getId());
|
|
@@ -184,7 +184,7 @@ public class BizCompanyServiceImpl extends ServiceImpl<BizCompanyMapper, BizCom
|
|
|
}
|
|
|
} else {
|
|
|
failureNum++;
|
|
|
- failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源错误");
|
|
|
+ failureMsg.append("<br/>").append(failureNum).append("、").append(company.getName()).append(":来源类型错误");
|
|
|
continue;
|
|
|
}
|
|
|
this.save(company);
|