Commit e6040194 authored by zhangyi's avatar zhangyi

城投企业查询100%

parent 37bc17cf
...@@ -107,13 +107,13 @@ public class EnterpriseProjectService { ...@@ -107,13 +107,13 @@ public class EnterpriseProjectService {
public TableDataInfo bidPlanPage(Object body) throws Exception { public TableDataInfo bidPlanPage(Object body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R bidPlanDetail(Object body) throws Exception { public R bidPlanDetail(Object body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterpriseProject/bidPlanDetail", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanDetail", BeanUtil.beanToMap(body, false, false));
Map data = MapUtils.getMap(map, "data", null); Map data = MapUtils.getMap(map, "data", null);
String contentId = MapUtils.getString(data, "contentId"); String contentId = MapUtils.getString(data, "contentId");
if (ObjectUtil.isEmpty(contentId)) { if (ObjectUtil.isEmpty(contentId)) {
......
...@@ -149,7 +149,7 @@ public class EnterpriseService { ...@@ -149,7 +149,7 @@ public class EnterpriseService {
} }
public TableDataInfo uipSerach(EnterpriseUipSearchBody body) throws Exception { public TableDataInfo uipSerach(EnterpriseUipSearchBody body) throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterprise/uipSerach", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/uipSerach", BeanUtil.beanToMap(body, false, false));
Integer code = MapUtils.getInteger(map, "code", 300); Integer code = MapUtils.getInteger(map, "code", 300);
if (200 != code) throw new RuntimeException(); if (200 != code) throw new RuntimeException();
...@@ -185,7 +185,7 @@ public class EnterpriseService { ...@@ -185,7 +185,7 @@ public class EnterpriseService {
} }
public R uipGroupData() throws Exception { public R uipGroupData() throws Exception {
Map<String, Object> map = dskOpenApiUtil.requestBodyLocal("/operate/enterprise/uipGroupData", null); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/uipGroupData", null);
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
} }
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