3/14 安溪县1.1

axxyy
wangwei 3 weeks ago
parent 0f46e0f2c0
commit e3bec2b82d

@ -1015,7 +1015,6 @@ public class AxxyyClient extends CommonHttpClient {
PageSimpleResponse<BasicSkProjectResponse> PriceDictResponse = new PageSimpleResponse<>();
PriceDictResponse.setTotal((long) basicSkProjectEntities.size()); // 设置总数
PriceDictResponse.setList(basicSkProjectEntities); // 设置列表
log.error("职业返回收费项目信息:::::::::::" + PriceDictResponse);
return ResultVOUtils.success(PriceDictResponse);
}catch (Exception e){
log.error("异常信息:{}", e);
@ -1050,7 +1049,6 @@ public class AxxyyClient extends CommonHttpClient {
PageSimpleResponse<UdiwmsWarehouseDetail> DeptDictResponse = new PageSimpleResponse<>();
DeptDictResponse.setTotal((long) udiwmsWarehouseDetails.size()); // 设置总数
DeptDictResponse.setList(udiwmsWarehouseDetails); // 设置列表
log.error("职业返回收费项目信息:::::::::::" + DeptDictResponse);
return ResultVOUtils.success(DeptDictResponse);
}catch (Exception e){
log.error("异常信息:{}", e);
@ -1077,7 +1075,6 @@ public class AxxyyClient extends CommonHttpClient {
String xml = xmlResponse.body();
// 假设 XML 解析到的 JSON 字符串部分
log.error("获取智业收费项目999:" + xml);
return xml;
} catch (Exception e) {
log.error("获取智业收费项目失败===" + e.getMessage());
@ -1116,7 +1113,6 @@ public class AxxyyClient extends CommonHttpClient {
Matcher matcher = pattern.matcher(standardXml);
String resultXml = matcher.replaceAll("<$1></$1>");
log.error("解析后的数据" + resultXml);
return resultXml;
} catch (ParserConfigurationException | SAXException | TransformerException | IOException e) {
e.printStackTrace();
@ -1126,7 +1122,6 @@ public class AxxyyClient extends CommonHttpClient {
public DataVo getDataVo(String xml){
try {
log.error("获取到的xml文件数据" + xml);
XmlMapper xmlMapper = new XmlMapper();
JsonNode xmlNode = xmlMapper.readTree(xml.getBytes("UTF-8"));

Loading…
Cancel
Save