From 07cc0a3e45a2f4db1d991877393e2759922231c8 Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 22 四月 2024 20:09:13 +0800
Subject: [PATCH] 统一编码-调整轮换计划及计划明细接口字段名称

---
 src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java b/src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java
index d0bed5e..6444f65 100644
--- a/src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java
+++ b/src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java
@@ -70,9 +70,9 @@
 
     @Override
     public ResponseDto pushData(ApiParam param, ApiConfs conf, Object data) {
-        if (Constant.API_CODE_1501.equals(param.getInteId())
-                || Constant.API_CODE_1502.equals(param.getInteId())
-                || Constant.API_CODE_1503.equals(param.getInteId())) {
+        if (Constant.API_CODE_1114_1501.equals(param.getInteId())
+                || Constant.API_CODE_1114_1502.equals(param.getInteId())
+                || Constant.API_CODE_1114_1503.equals(param.getInteId())) {
             return pushFinanceData(param, conf, data);
         }
 
@@ -193,11 +193,11 @@
             }
 
             List<GDFinanceDto> list = null;
-            if (Constant.API_CODE_1501.equals(param.getInteId())) {
+            if (Constant.API_CODE_1114_1501.equals(param.getInteId())) {
                 list = copyApi1501((Api1501) data);
-            } else if (Constant.API_CODE_1502.equals(param.getInteId())) {
+            } else if (Constant.API_CODE_1114_1502.equals(param.getInteId())) {
                 list = copyApi1502((Api1502) data);
-            } else if (Constant.API_CODE_1503.equals(param.getInteId())) {
+            } else if (Constant.API_CODE_1114_1503.equals(param.getInteId())) {
                 list = copyApi1503((Api1503) data);
             }
             GD2022ResponseDto responseDto;
@@ -751,14 +751,15 @@
                         lcsl += gd2022Api1404.getLhsl();
                     }
                     //鏍¢獙缁熶竴缂栫爜鏄惁涓虹┖锛屼负绌哄垯鏌ヨ淇℃伅杩涜璧嬪��
-                    if(StringUtils.isEmpty(gd2022Api1404.getTyhwbm())){
+                    if(StringUtils.isEmpty(gd2022Api1404.getLhhwtybm())){
                         String tyhwbm = apiCommonService.getTyhwbm(gd2022Api1404.getLhhwdm());
-                        gd2022Api1404.setTyhwbm(tyhwbm);
+                        gd2022Api1404.setLhhwtybm(tyhwbm);
                     }
                     gd2022Api1404.setZhgxsj(DateUtils.addSeconds(new Date(), -10));
                     dtls.add(gd2022Api1404);
                 }
             }
+
             api1403.setRotationInQty(lrsl);
             api1403.setRotationOutQty(lcsl);
             api1403.setDtls(dtls);
@@ -767,9 +768,9 @@
             //璁剧疆涓婁紶鏂囦欢id
             api1403.setFileStorageId((String) responseDto.getData());
             //鏍¢獙缁熶竴缂栫爜鏄惁涓虹┖锛屼负绌哄垯鏌ヨ淇℃伅杩涜璧嬪��
-            if(StringUtils.isEmpty(api1403.getTydwbm())){
+            if(StringUtils.isEmpty(api1403.getJhxddwtybm())){
                 String tydwbm = apiCommonService.getTydwbm(api1403.getJhxddw());
-                api1403.setTydwbm(tydwbm);
+                api1403.setJhxddwtybm(tydwbm);
             }
             api1403.setZhgxsj(DateUtils.addSeconds(new Date(), -10));
             return JSON.toJSONString(api1403);

--
Gitblit v1.9.3