Commit 115a45f4 by jianan

前端对接问题修复27

parent 6cfd4119
...@@ -192,12 +192,14 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy> ...@@ -192,12 +192,14 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy>
if (result == null || ObjectUtils.isEmpty(result.getData())) { if (result == null || ObjectUtils.isEmpty(result.getData())) {
return CollUtil.newArrayList(); return CollUtil.newArrayList();
} }
try {
log.info(JSONUtil.parseObj(result).toString());
// 直接使用Map来处理数据,避免复杂的类型转换
Object data = result.getData();
List<Map<String, Object>> policyProductInfoList = new ArrayList<>();
// 直接使用Map来处理数据,避免复杂的类型转换
Object data = result.getData();
List<Map<String, Object>> policyProductInfoList = new ArrayList<>();
try {
// 将数据转换为JSONObject进行解析 // 将数据转换为JSONObject进行解析
JSONObject jsonObject = JSONUtil.parseObj(data); JSONObject jsonObject = JSONUtil.parseObj(data);
...@@ -225,7 +227,7 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy> ...@@ -225,7 +227,7 @@ public class PolicyServiceImpl extends ServiceImpl<PolicyMapper, Policy>
return CollUtil.newArrayList(); return CollUtil.newArrayList();
} }
return policyProductInfoList; return null;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment