|
|
|
@ -399,14 +399,14 @@ public class InvoiceRestApiV6 { |
|
|
|
|
}else if(ConfigurerInfo.transferTojx.equals(interfaceName)){ |
|
|
|
|
log.info("开始调用进项接口"); |
|
|
|
|
//根据发票代码 + 号码更新字段
|
|
|
|
|
PoCommonRequestParam requestParam = JsonUtils.getInstance().parseObject(reqStr, PoCommonRequestParam.class); |
|
|
|
|
String result = interfaceServiceV3.syncAccountInfo(requestParam); |
|
|
|
|
// PoCommonRequestParam requestParam = JsonUtils.getInstance().parseObject(reqStr, PoCommonRequestParam.class);
|
|
|
|
|
// String result = interfaceServiceV3.syncAccountInfo(requestParam);
|
|
|
|
|
|
|
|
|
|
Map<String,String> headMap = new HashMap<>(); |
|
|
|
|
headMap.put("token",ConfigureConstant.POTOKEN); |
|
|
|
|
String s = HttpUtils.doPostWithHeader(jxUrl,reqStr,headMap); |
|
|
|
|
log.info("进项接口返回:{}",result); |
|
|
|
|
return result; |
|
|
|
|
log.info("进项接口返回:{}",s); |
|
|
|
|
return s; |
|
|
|
|
} else { |
|
|
|
|
returnJsonString = ""; |
|
|
|
|
} |
|
|
|
|