|
|
|
@ -733,6 +733,14 @@ public class EleAuthInvoiceImpl implements IAuthInvoice { |
|
|
|
|
log.error("【进项服务类】【大象】【获取企业档案】API请求异常,大象外部报文返回code非0000。错误信息:{}", e.getMessage()); |
|
|
|
|
return AjaxResult.error(ErrorCode.INCOME_ERROR); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
String ztdm = resp.getString("ZTDM") != null ? resp.getString("ZTDM") : ""; |
|
|
|
|
String ztxx = resp.getString("ZTXX") != null ? resp.getString("ZTXX") : ""; |
|
|
|
|
if(!"0000".equals(ztdm)){ |
|
|
|
|
log.info("【进项服务类】【大象】【获取企业档案】API请求返回错误,ZTDM={},ZTXX={}",ztdm,ztxx); |
|
|
|
|
return AjaxResult.error(200000,"进项错误!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
GetCompanyInfoVO getCompanyInfoVO = BeanUtil.copyProperties(resp, GetCompanyInfoVO.class); |
|
|
|
|
|
|
|
|
|
IncomeInvoiceAuthEnterpriseArchives enterpriseArchives = BeanUtil.copyProperties(getCompanyInfoVO, IncomeInvoiceAuthEnterpriseArchives.class); |
|
|
|
|