|
@@ -56,7 +56,7 @@ public class CustomerLowerServiceImpl implements CustomeLowerService {
|
|
|
res.append("#"+customerRec.getCustomerName()+"不存在或已经停用;#");
|
|
|
return;
|
|
|
}
|
|
|
- if(!customer.getBussinessType().equals(customerRec.getBussinessType())){
|
|
|
+ if(!customer.getBussinessType().equals(Integer.parseInt(customerRec.getBussinessType()))){
|
|
|
res.append("#"+customerRec.getCompanyName()+"业务类型有误;#");
|
|
|
return;
|
|
|
}
|
|
@@ -70,8 +70,6 @@ public class CustomerLowerServiceImpl implements CustomeLowerService {
|
|
|
customerRec.setCompanyNum(b2bCompanyModels.get(0).getCompanyNum());
|
|
|
customerRec.setRecStatus(1);
|
|
|
}
|
|
|
- }else{
|
|
|
- res.append("#企业:"+customerRec.getCompanyName()+"备案失败:"+respR.getMsg()+"#");
|
|
|
}
|
|
|
//客户备案信息入表
|
|
|
CustomerRec customerRec1 = customerRecMapper.selectByCustomerNameAndCompany(customerRec);
|