|
@@ -102,6 +102,11 @@ public class BizCompanyServiceImpl extends ServiceImpl<BizCompanyMapper, BizCom
|
|
|
StringBuilder failureMsg = new StringBuilder();
|
|
|
for (BizCompany company : companyList) {
|
|
|
try {
|
|
|
+ if(company.getName().equals("")||company.getName()==null){
|
|
|
+ failureNum++;
|
|
|
+ failureMsg.append("<br/>" + failureNum + "、客户名称不能为空");
|
|
|
+ continue;
|
|
|
+ }
|
|
|
// 验证是否存在这个客户
|
|
|
if(this.query().eq("name", company.getName()).eq("tenant_id", tenantId).count() > 0)
|
|
|
{
|