From 05d2819f1069d24ceb96615705d40f44ab5f1f9c Mon Sep 17 00:00:00 2001 From: CZT <czt18638530771@163.com> Date: 星期四, 28 十二月 2023 13:55:50 +0800 Subject: [PATCH] 调整上海嘉定纪委接口3 --- src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java b/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java index 27845ad..a01ceba 100644 --- a/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java +++ b/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java @@ -200,9 +200,13 @@ return api1108; } if (NX2023Constant.NX_2023_API_CODE_1109.equals(inteId)) { + Nx2023Api1109 api1109 = new Nx2023Api1109(); Api1109 apiData = (Api1109) data; - apiData.setWjl(FileUtils.fileToByteString(apiData.getWjdz())); - return apiData; + BeanUtils.copyProperties(apiData, api1109); + Map<String, String> map = new HashMap<>(); + map.put(apiData.getWjmc(), FileUtils.fileToByteString(apiData.getWjdz())); + api1109.setWjl(JSON.toJSONString(map)); + return api1109; } if (NX2023Constant.NX_2023_API_CODE_1111.equals(inteId)) { Nx2023Api1111 api1111 = new Nx2023Api1111(); @@ -214,16 +218,52 @@ BeanUtils.copyProperties(data, api1112); return api1112; } + if (NX2023Constant.NX_2023_API_CODE_1113.equals(inteId)) { + Nx2023Api1113 api1113 = new Nx2023Api1113(); + BeanUtils.copyProperties(data, api1113); + return api1113; + } if (NX2023Constant.NX_2023_API_CODE_1201.equals(inteId)) { Nx2023Api1201 api1201 = new Nx2023Api1201(); BeanUtils.copyProperties(data, api1201); return api1201; + } + if (NX2023Constant.NX_2023_API_CODE_1203.equals(inteId)) { + Nx2023Api1203 api1203 = new Nx2023Api1203(); + BeanUtils.copyProperties(data, api1203); + return api1203; + } + + if (NX2023Constant.NX_2023_API_CODE_1211.equals(inteId)) { + Nx2023Api1211 api1211 = new Nx2023Api1211(); + BeanUtils.copyProperties(data, api1211); + return api1211; } if (NX2023Constant.NX_2023_API_CODE_1205.equals(inteId)) { Nx2023Api1205 api1205 = new Nx2023Api1205(); BeanUtils.copyProperties(data, api1205); api1205.setSzlx("09"); return api1205; + } + if (NX2023Constant.NX_2023_API_CODE_1306.equals(inteId)) { + Nx2023Api1306 api1306 = new Nx2023Api1306(); + BeanUtils.copyProperties(data, api1306); + return api1306; + } + if (NX2023Constant.NX_2023_API_CODE_1307.equals(inteId)) { + Nx2023Api1307 api1307 = new Nx2023Api1307(); + BeanUtils.copyProperties(data, api1307); + return api1307; + } + if (NX2023Constant.NX_2023_API_CODE_1308.equals(inteId)) { + Nx2023Api1308 api1308 = new Nx2023Api1308(); + BeanUtils.copyProperties(data, api1308); + return api1308; + } + if (NX2023Constant.NX_2023_API_CODE_1403.equals(inteId)) { + Nx2023Api1403 api1403 = new Nx2023Api1403(); + BeanUtils.copyProperties(data, api1403); + return api1403; } return data; } @@ -508,4 +548,11 @@ } return object; } + + @Override + public ResponseDto pullData(ApiParam param, ApiConfs conf) { + //璇ュ崗璁棤姝ゅ疄鐜� + return null; + } + } \ No newline at end of file -- Gitblit v1.9.3