|
@@ -182,11 +182,13 @@ public class CustomerInterLowerServiceImpl implements CustomerInterLowerService
|
|
log.info("[-CustomerInterLowerServiceImpl.customeInterRecQuery-] request appKey=" + appKey + " ,api=" + api + " ,data=" +data);
|
|
log.info("[-CustomerInterLowerServiceImpl.customeInterRecQuery-] request appKey=" + appKey + " ,api=" + api + " ,data=" +data);
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
String companyName = jsonObject.getString("companyName");//企业名称
|
|
String companyName = jsonObject.getString("companyName");//企业名称
|
|
- String taxpayerCode = jsonObject.getString("taxpayerCode");//企业税号
|
|
|
|
- if(StringUtils.isEmpty(data)|| null == jsonObject || StringUtils.isEmpty(companyName) || StringUtils.isEmpty(taxpayerCode)){
|
|
|
|
|
|
+ String taxpayerCode = jsonObject.getString("taxplayerCode");//企业税号
|
|
|
|
+ if(StringUtils.isEmpty(data)|| null == jsonObject){
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ if( StringUtils.isEmpty(companyName) && StringUtils.isEmpty(taxpayerCode)){
|
|
|
|
+ return result;
|
|
|
|
+ }
|
|
|
|
|
|
CustomerRec customerRec = new CustomerRec();
|
|
CustomerRec customerRec = new CustomerRec();
|
|
customerRec.setCompanyName(companyName);
|
|
customerRec.setCompanyName(companyName);
|