|
@@ -412,9 +412,19 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
|
|
|
// 匹配数据
|
|
|
companyVo.setFrName(pcFirm.getDbrName());
|
|
|
- companyVo.setRegisteredCapital(Double.valueOf(pcFirm.getRegisteredCapital()));
|
|
|
+ if (pcFirm.getRegisteredCapital() != null && !pcFirm.getRegisteredCapital().trim().isBlank()) {
|
|
|
+ try {
|
|
|
+ companyVo.setRegisteredCapital(Double.valueOf(pcFirm.getRegisteredCapital()));
|
|
|
+ } catch (Exception e) {
|
|
|
+ }
|
|
|
+ }
|
|
|
companyVo.setCompanyCode(pcFirm.getCompanyCode());
|
|
|
- companyVo.setInsuredCount(Integer.valueOf(pcFirm.getInsuredCount()));
|
|
|
+ if (pcFirm.getInsuredCount() != null && !pcFirm.getInsuredCount().trim().isBlank()) {
|
|
|
+ try {
|
|
|
+ companyVo.setInsuredCount(Integer.valueOf(pcFirm.getInsuredCount()));
|
|
|
+ } catch (Exception e) {
|
|
|
+ }
|
|
|
+ }
|
|
|
companyVo.setUserMobile(pcFirm.getLxMobile());
|
|
|
companyVo.setCompanyEmail(pcFirm.getEmail());
|
|
|
companyVo.setCompanyAddress(pcFirm.getLatestAddress());
|