|
@@ -1,12 +1,10 @@
|
|
|
package com.sooka.api_sp.province_1_labor_contract.service.impl;
|
|
|
|
|
|
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.sooka.api_sp.province_1_labor_contract.domain.*;
|
|
|
import com.sooka.api_sp.province_1_labor_contract.service.SP_LaborContract_Service;
|
|
|
import com.sooka.model.ResultModel;
|
|
|
-import com.sooka.model.bo.PeoplemarryInfosingle_Bean;
|
|
|
import com.sooka.service.impl.ABaseService_SP;
|
|
|
import com.sooka.utils.HttpUtil;
|
|
|
import com.sooka.utils.HttpUtil2;
|
|
@@ -24,7 +22,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getLaborContractNewRecordInfoListQuery(SP_1_LaborContractNewRecordInfoListQuery_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -89,7 +87,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getLaborContractRenewRecordInfoListQuery(SP_2_LaborContractRenewRecordInfoListQuery_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -154,7 +152,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getLaborContractCancelRecordBookListQuery(SP_3_LaborContractCancelRecordBookListQuery_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
String page = vo.getPage();
|
|
|
String size = vo.getSize();
|
|
@@ -219,7 +217,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getLaborContractNewRecordBookListQuery(SP_4_LaborLaborContractNewRecordBookListQuery_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
String page = vo.getPage();
|
|
|
String size = vo.getSize();
|
|
@@ -284,7 +282,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getLaborContractRenewRecordBookListQuery(SP_5_LaborContractRenewRecordBookListQuery_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
String page = vo.getPage();
|
|
|
String size = vo.getSize();
|
|
@@ -353,13 +351,13 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
|
|
|
System.out.println(json);
|
|
|
System.out.println(StringEscapeUtils.unescapeJava(json));
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
bean.setResult(StringEscapeUtils.unescapeJava(json));
|
|
|
ResultModel resultModel = ResultModel.ok(bean);
|
|
|
|
|
|
System.out.println(resultModel);
|
|
|
System.out.println(resultModel.getMessage());
|
|
|
- System.out.println(((PeoplemarryInfosingle_Bean)resultModel.getData()).getResult());
|
|
|
+ System.out.println(((ResultModel_SP_Bean)resultModel.getData()).getResult());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -372,7 +370,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getqueryEBaseinfos(SP_6_EBaseinfos_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -446,7 +444,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getQsWszInfo(SP_7_QsWszInfo_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -527,7 +525,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getFpxxxx(SP_8_Fpxxxx_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -616,7 +614,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getApi_1680488576658(SP_9_Api_1680488576658_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -705,7 +703,7 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
*/
|
|
|
@Override
|
|
|
public ResultModel getDataNew(SP_11_DataNew_VO vo) {
|
|
|
- PeoplemarryInfosingle_Bean bean = new PeoplemarryInfosingle_Bean();
|
|
|
+ ResultModel_SP_Bean bean = new ResultModel_SP_Bean();
|
|
|
// 参数校验
|
|
|
// String page = vo.getPage();
|
|
|
// String size = vo.getSize();
|
|
@@ -758,7 +756,10 @@ public class SP_LaborContract_ServiceImpl extends ABaseService_SP implements SP_
|
|
|
String data = jsonObject.getString("data");
|
|
|
bean.setCode(code);
|
|
|
bean.setMessage(message);
|
|
|
- bean.setResult(StringEscapeUtils.unescapeJava(data));
|
|
|
+// bean.setResult(StringEscapeUtils.unescapeJava(data));
|
|
|
+// LinkedHashMap<String, Object> result = new JSONParser(requestParam).parseObject();
|
|
|
+// bean.setResult(JSONObject.parseObject(data));
|
|
|
+ bean.setResult(data);
|
|
|
}
|
|
|
|
|
|
} catch (Exception e) {
|