From 9174ba00b1823f44f5efe5902c8d75e7f7392596 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期四, 18 四月 2024 20:04:11 +0800 Subject: [PATCH] 根据统一编码,调整宁夏省平台数据封装 --- src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java | 148 +++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 137 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java b/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java index 5716ceb..a198632 100644 --- a/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java +++ b/src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java @@ -199,6 +199,36 @@ api1102.setLkxz("1"); return api1102; } + if (NX2023Constant.NX_2023_API_CODE_1103.equals(inteId)) { + + Nx2023Api1103 api1103 = new Nx2023Api1103(); + BeanUtils.copyProperties(data, api1103); + return api1103; + } + if (NX2023Constant.NX_2023_API_CODE_1104.equals(inteId)) { + + Nx2023Api1104 api1104 = new Nx2023Api1104(); + BeanUtils.copyProperties(data, api1104); + return api1104; + } + if (NX2023Constant.NX_2023_API_CODE_1105.equals(inteId)) { + + Nx2023Api1105 api1105 = new Nx2023Api1105(); + BeanUtils.copyProperties(data, api1105); + return api1105; + } + if (NX2023Constant.NX_2023_API_CODE_1106.equals(inteId)) { + + Nx2023Api1106 api1106 = new Nx2023Api1106(); + BeanUtils.copyProperties(data, api1106); + return api1106; + } + if (NX2023Constant.NX_2023_API_CODE_1107.equals(inteId)) { + + Nx2023Api1107 api1107 = new Nx2023Api1107(); + BeanUtils.copyProperties(data, api1107); + return api1107; + } if (NX2023Constant.NX_2023_API_CODE_1108.equals(inteId)) { Nx2023Api1108 api1108 = new Nx2023Api1108(); BeanUtils.copyProperties(data, api1108); @@ -212,6 +242,11 @@ map.put(apiData.getWjmc(), FileUtils.fileToByteString(apiData.getWjdz())); api1109.setWjl(JSON.toJSONString(map)); return api1109; + } + if (NX2023Constant.NX_2023_API_CODE_1110.equals(inteId)) { + Nx2023Api1110 api1110 = new Nx2023Api1110(); + BeanUtils.copyProperties(data, api1110); + return api1110; } if (NX2023Constant.NX_2023_API_CODE_1111.equals(inteId)) { Nx2023Api1111 api1111 = new Nx2023Api1111(); @@ -233,22 +268,86 @@ BeanUtils.copyProperties(data, api1201); return api1201; } + if (NX2023Constant.NX_2023_API_CODE_1202.equals(inteId)) { + Nx2023Api1202 api1202 = new Nx2023Api1202(); + BeanUtils.copyProperties(data, api1202); + return api1202; + } 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_1204.equals(inteId)) { + Nx2023Api1204 api1204 = new Nx2023Api1204(); + BeanUtils.copyProperties(data, api1204); + return api1204; } 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_1206.equals(inteId)) { + Nx2023Api1206 api1206 = new Nx2023Api1206(); + BeanUtils.copyProperties(data, api1206); + return api1206; + } + if (NX2023Constant.NX_2023_API_CODE_1207.equals(inteId)) { + Nx2023Api1207 api1207 = new Nx2023Api1207(); + BeanUtils.copyProperties(data, api1207); + return api1207; + } + if (NX2023Constant.NX_2023_API_CODE_1208.equals(inteId)) { + Nx2023Api1208 api1208 = new Nx2023Api1208(); + BeanUtils.copyProperties(data, api1208); + return api1208; + } + if (NX2023Constant.NX_2023_API_CODE_1209.equals(inteId)) { + Nx2023Api1209 api1209 = new Nx2023Api1209(); + BeanUtils.copyProperties(data, api1209); + return api1209; + } + if (NX2023Constant.NX_2023_API_CODE_1210.equals(inteId)) { + Nx2023Api1210 api1210 = new Nx2023Api1210(); + BeanUtils.copyProperties(data, api1210); + return api1210; + } + 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_1212.equals(inteId)) { + Nx2023Api1212 api1212 = new Nx2023Api1212(); + BeanUtils.copyProperties(data, api1212); + return api1212; + } + if (NX2023Constant.NX_2023_API_CODE_1301.equals(inteId)) { + Nx2023Api1301 api1301 = new Nx2023Api1301(); + BeanUtils.copyProperties(data, api1301); + return api1301; + } + if (NX2023Constant.NX_2023_API_CODE_1302.equals(inteId)) { + Nx2023Api1302 api1302 = new Nx2023Api1302(); + BeanUtils.copyProperties(data, api1302); + return api1302; + } + if (NX2023Constant.NX_2023_API_CODE_1303.equals(inteId)) { + Nx2023Api1303 api1303 = new Nx2023Api1303(); + BeanUtils.copyProperties(data, api1303); + return api1303; + } + if (NX2023Constant.NX_2023_API_CODE_1304.equals(inteId)) { + Nx2023Api1304 api1304 = new Nx2023Api1304(); + BeanUtils.copyProperties(data, api1304); + return api1304; + } + if (NX2023Constant.NX_2023_API_CODE_1305.equals(inteId)) { + Nx2023Api1305 api1305 = new Nx2023Api1305(); + BeanUtils.copyProperties(data, api1305); + return api1305; } if (NX2023Constant.NX_2023_API_CODE_1306.equals(inteId)) { Nx2023Api1306 api1306 = new Nx2023Api1306(); @@ -270,10 +369,40 @@ BeanUtils.copyProperties(data, api1308); return api1308; } + if (NX2023Constant.NX_2023_API_CODE_1309.equals(inteId)) { + Nx2023Api1309 api1309 = new Nx2023Api1309(); + BeanUtils.copyProperties(data, api1309); + return api1309; + } + if (NX2023Constant.NX_2023_API_CODE_1310.equals(inteId)) { + Nx2023Api1310 api1310 = new Nx2023Api1310(); + BeanUtils.copyProperties(data, api1310); + return api1310; + } + if (NX2023Constant.NX_2023_API_CODE_1401.equals(inteId)) { + Nx2023Api1401 api1401 = new Nx2023Api1401(); + BeanUtils.copyProperties(data, api1401); + return api1401; + } + if (NX2023Constant.NX_2023_API_CODE_1402.equals(inteId)) { + Nx2023Api1402 api1402 = new Nx2023Api1402(); + BeanUtils.copyProperties(data, api1402); + return api1402; + } if (NX2023Constant.NX_2023_API_CODE_1403.equals(inteId)) { Nx2023Api1403 api1403 = new Nx2023Api1403(); BeanUtils.copyProperties(data, api1403); return api1403; + } + if (NX2023Constant.NX_2023_API_CODE_1404.equals(inteId)) { + Nx2023Api1404 api1404 = new Nx2023Api1404(); + BeanUtils.copyProperties(data, api1404); + return api1404; + } + if (NX2023Constant.NX_2023_API_CODE_1405.equals(inteId)) { + Nx2023Api1405 api1405 = new Nx2023Api1405(); + BeanUtils.copyProperties(data, api1405); + return api1405; } return data; } @@ -313,8 +442,7 @@ } } - private List<NxFinanceDto> copyApi1503(Api1503 data) { - Api1503 api1503 = data; + private List<NxFinanceDto> copyApi1503(Api1503 api1503) { List<NxFinanceDto> list = new ArrayList<>(); NxFinanceDto nxFinanceDto = new NxFinanceDto(); nxFinanceDto.setDwdm(api1503.getDwdm()); @@ -365,8 +493,7 @@ return list; } - private List<NxFinanceDto> copyApi1502(Api1502 data) { - Api1502 api1502 = data; + private List<NxFinanceDto> copyApi1502(Api1502 api1502) { List<NxFinanceDto> list = new ArrayList<>(); NxFinanceDto nxFinanceDto = new NxFinanceDto(); nxFinanceDto.setDwdm(api1502.getDwdm()); @@ -419,8 +546,7 @@ return list; } - private List<NxFinanceDto> copyApi1501(Api1501 data) { - Api1501 api1501 = data; + private List<NxFinanceDto> copyApi1501(Api1501 api1501) { List<NxFinanceDto> list = new ArrayList<>(); NxFinanceDto nxFinanceDto = new NxFinanceDto(); nxFinanceDto.setDwdm(api1501.getDwdm()); -- Gitblit v1.9.3