Commit a6849d52 authored by 赵啸非's avatar 赵啸非

修改部分接口返回参数

parent 003151c3
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<profiles.robertServerUrl>http://localhost:8099/</profiles.robertServerUrl> <profiles.robertServerUrl>http://localhost:8099/</profiles.robertServerUrl>
<profiles.complexServerUrl>https://112.19.80.237:11043/zwzc/</profiles.complexServerUrl> <profiles.complexServerUrl>https://112.19.80.237:11043/zwzc/</profiles.complexServerUrl>
<profiles.complexDeviceCode>9c:30:5b:b5:c0:d5</profiles.complexDeviceCode> <profiles.complexDeviceCode>9c:30:5b:b5:c0:d5</profiles.complexDeviceCode>
<profiles.mq>yibin</profiles.mq> <profiles.mq>yibindev</profiles.mq>
<profiles.activemq.brokerUrl>tcp://59.175.148.30:62818</profiles.activemq.brokerUrl> <profiles.activemq.brokerUrl>tcp://59.175.148.30:62818</profiles.activemq.brokerUrl>
<profiles.publish.path>/home/publish</profiles.publish.path> <profiles.publish.path>/home/publish</profiles.publish.path>
</properties> </properties>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<profiles.baseUrl>http://10.225.128.55</profiles.baseUrl> <profiles.baseUrl>http://10.225.128.55</profiles.baseUrl>
<profiles.ocrUrl>http://rocrt.egovrobot.com/</profiles.ocrUrl> <profiles.ocrUrl>http://rocrt.egovrobot.com/</profiles.ocrUrl>
<profiles.apiUrl>http://api.egovrobot.com</profiles.apiUrl> <profiles.apiUrl>http://api.egovrobot.com</profiles.apiUrl>
<profiles.mq>yibin</profiles.mq> <profiles.mq>yibindev</profiles.mq>
<profiles.activemq.brokerUrl>tcp://8.136.255.30:11044</profiles.activemq.brokerUrl> <profiles.activemq.brokerUrl>tcp://8.136.255.30:11044</profiles.activemq.brokerUrl>
<profiles.publish.path>/home/publish</profiles.publish.path> <profiles.publish.path>/home/publish</profiles.publish.path>
</properties> </properties>
......
...@@ -55,8 +55,6 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract { ...@@ -55,8 +55,6 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
@Override @Override
public void doHandleWork(CommonData commonData) { public void doHandleWork(CommonData commonData) {
//获取数据资源 todo
//下载附件 //下载附件
List<FileDataItem> fileCollect = commonData.getFileData().stream().map(item -> { List<FileDataItem> fileCollect = commonData.getFileData().stream().map(item -> {
FileDataItem fileDataItem = new FileDataItem(); FileDataItem fileDataItem = new FileDataItem();
...@@ -115,7 +113,6 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract { ...@@ -115,7 +113,6 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
} }
materialsItem.setMaterialForm(item.getFromId()); materialsItem.setMaterialForm(item.getFromId());
materialsItem.setMaterialId(item.getId()); materialsItem.setMaterialId(item.getId());
return materialsItem; return materialsItem;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
...@@ -123,16 +120,12 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract { ...@@ -123,16 +120,12 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
} }
} }
//提交响应的受理 //提交响应的受理
List<HandlingsItem> handlingsItemList = new ArrayList<>(); List<HandlingsItem> handlingsItemList = new ArrayList<>();
HandlingsItem handlingsItem = new HandlingsItem(); HandlingsItem handlingsItem = new HandlingsItem();
handlingsItem.setEventId(eventId); handlingsItem.setEventId(eventId);
handlingsItem.setObjectType(eventObjectType); handlingsItem.setObjectType(eventObjectType);
handlingsItemList.add(handlingsItem); handlingsItemList.add(handlingsItem);
acceptReq.setHandlings(handlingsItemList); acceptReq.setHandlings(handlingsItemList);
//申请人信息 //申请人信息
ApplicantLeagal applicantLeagal = new ApplicantLeagal(); ApplicantLeagal applicantLeagal = new ApplicantLeagal();
applicantLeagal.setPhone(commonData.getApplicantPhone()); applicantLeagal.setPhone(commonData.getApplicantPhone());
...@@ -140,17 +133,13 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract { ...@@ -140,17 +133,13 @@ public class WXHXPJYXKFRBG extends ComplexWindowAbstract {
applicantLeagal.setDocumentId(commonData.getApplicantDocumentId()); applicantLeagal.setDocumentId(commonData.getApplicantDocumentId());
applicantLeagal.setApplicantName(commonData.getApplicantName()); applicantLeagal.setApplicantName(commonData.getApplicantName());
applicantLeagal.setApplicantIdNumber(commonData.getApplicantIdNumber()); applicantLeagal.setApplicantIdNumber(commonData.getApplicantIdNumber());
acceptReq.setApplicantLegal(applicantLeagal); acceptReq.setApplicantLegal(applicantLeagal);
//法人信息 //法人信息
LegalProxy legalProxy = new LegalProxy(); LegalProxy legalProxy = new LegalProxy();
legalProxy.setLegalName(commonData.getLegalName()); legalProxy.setLegalName(commonData.getLegalName());
legalProxy.setLegalIdNumber(commonData.getLegalIdNumber()); legalProxy.setLegalIdNumber(commonData.getLegalIdNumber());
legalProxy.setDocumentId(commonData.getLegalDocumentId()); legalProxy.setDocumentId(commonData.getLegalDocumentId());
acceptReq.setLegalProxy(legalProxy); acceptReq.setLegalProxy(legalProxy);
Rest<List<AcceptRspInfo>> acceptRest = complexMatterService.accept(commonData.getDeviceLogo(), acceptReq); Rest<List<AcceptRspInfo>> acceptRest = complexMatterService.accept(commonData.getDeviceLogo(), acceptReq);
log.info("受理返回==>{}", JSON.toJSONString(acceptRest)); log.info("受理返回==>{}", JSON.toJSONString(acceptRest));
......
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