Przeglądaj źródła

2.2代码提交

“lqy 2 dni temu
rodzic
commit
32b6ae87db

+ 5 - 5
mjava-huagao/src/main/java/com/malk/huagao/schedule/YdScheduleTask.java

@@ -126,7 +126,7 @@ private YdHuaGaoService ydHuaGaoService;
 
 
 
-    @Scheduled(cron = "0 0/15 * * * ?")
+//    @Scheduled(cron = "0 0/15 * * * ?")
     public void synckdYdOutbound() {
         log.info("定时同步-出库单");
         try {
@@ -137,7 +137,7 @@ private YdHuaGaoService ydHuaGaoService;
         }
     }
 
-    @Scheduled(cron = "0 0/15 * * * ?")
+//    @Scheduled(cron = "0 0/15 * * * ?")
     public void syncKdYdReceivable() {
         log.info("定时同步-应收单");
         try {
@@ -148,7 +148,7 @@ private YdHuaGaoService ydHuaGaoService;
         }
     }
 //    @Scheduled(fixedRate = 5 * 60 * 1000)
-    @Scheduled(cron = "0 0/15 * * * ?")
+//    @Scheduled(cron = "0 0/15 * * * ?")
     public void synckdYdMaterial() {
         log.info("定时同步-物料信息");
         try {
@@ -159,7 +159,7 @@ private YdHuaGaoService ydHuaGaoService;
         }
     }
 
-    @Scheduled(cron = "0 0/15 * * * ?")
+//    @Scheduled(cron = "0 0/15 * * * ?")
     public void synckdYdPayment() {
         log.info("定时同步-synckdYdPayment");
         try {
@@ -170,7 +170,7 @@ private YdHuaGaoService ydHuaGaoService;
         }
     }
 
-    @Scheduled(cron = "0 0/15 * * * ?")
+//    @Scheduled(cron = "0 0/15 * * * ?")
     public void synckdYdTRANSFER() {
         log.info("定时同步-synckdYdTRANSFER");
         try {

+ 71 - 7
mjava-huagao/src/main/java/com/malk/huagao/service/impl/KdYdCustomerReferrerServiceImpl.java

@@ -1,5 +1,9 @@
 package com.malk.huagao.service.impl;
 
+import cn.hutool.http.HttpRequest;
+import cn.hutool.http.HttpResponse;
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.malk.huagao.entity.KdYdCustomerLiaison;
 import com.malk.huagao.entity.KdYdCustomerReferrer;
@@ -42,13 +46,29 @@ public class KdYdCustomerReferrerServiceImpl extends ServiceImpl<KdYdCustomerRef
         try {
             MDC.put("MDC_KEY_PID", "1003");
             String formInstId = UtilMap.getString(map, "formInstId");
-            String action = UtilMap.getString(map, "action");
+            String action = UtilMap.getString(map, "type");
 
             // 处理特殊操作类型
             if ("del".equals(action)) {
                 String bm = UtilMap.getString(map, "bm");
-                //todo 删除逻辑
 
+                Map<String, String> headers = new HashMap<>();
+                headers.put("Content-Type", "application/x-www-form-urlencoded");
+                Map<String, Object> formParams = new HashMap<>();
+                Map<String, Object> djbh = new HashMap<>();
+                djbh.put("djbh", bm);
+                result.put("data", djbh);
+                String jsonStr = JSON.toJSONString(result);
+                formParams.put("jsons", jsonStr);
+
+                System.out.println("====" + formParams);
+                HttpResponse response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+
+                String responseBody = response.body();
                 // 返回删除操作的格式
                 result.put("table", "KD_YD_CUSTOMER_REFERRER");
                 result.put("action", "del");
@@ -67,9 +87,14 @@ public class KdYdCustomerReferrerServiceImpl extends ServiceImpl<KdYdCustomerRef
 
             // 提取表单字段
             String mc = UtilMap.getString(formData, "textField_mgqbiouh");
+//            String mc = "张三11";
             String sfzh = UtilMap.getString(formData, "textField_mgqbioux");
+//            String sfzh = "1656455654";
             String sjh = UtilMap.getString(formData, "textField_mgqbioui");
+//            String sjh = "1656455654";
             String bm = UtilMap.getString(formData, "serialNumberField_mhiycezm");
+//            String bm = "TJR202615000";
+
             String xsy = UtilMap.getString(formData, "employeeField_mgqbiouz").replace("[\"", "").replace("\"]", "").trim();
 
             // 构建返回数据
@@ -80,12 +105,51 @@ public class KdYdCustomerReferrerServiceImpl extends ServiceImpl<KdYdCustomerRef
             cusRefData.put("bm", bm);
             cusRefData.put("xsy", xsy);
 
-            // 设置返回结果
-            result.put("table", "KD_YD_CUSTOMER_REFERRER");
-            result.put("action", action != null ? action : "add"); // 默认add操作
+            Map<String, String> headers = new HashMap<>();
+            headers.put("Content-Type", "application/x-www-form-urlencoded");
+
             result.put("data", cusRefData);
-            //todo 添加数据到金蝶数据库
-            // 添加日志记录
+// 将result转换为JSON字符串
+            String jsonStr = JSON.toJSONString(result);
+// 构建form参数
+            Map<String, Object> formParams = new HashMap<>();
+            formParams.put("jsons", jsonStr);
+// 发送请求
+            System.out.println("formParams====" + formParams);
+            HttpResponse response = null;
+            if ("add".equals(action)) {
+                response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbcreatecusttjr")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+            } else {
+                response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+            }
+
+            String responseBody = response.body();
+            System.out.println("res"+responseBody);
+            try {
+                String code = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("code");
+                String msg = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("msg");
+                System.out.println("msg"+msg);
+                ydClient.operateData(
+                        YDParam.builder()
+                                .formInstanceId(formInstId)
+                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_ml08nk3y, textareaField_mkxqgrvq",code, msg)))
+                                .useLatestVersion(true).build(),
+                        YDConf.FORM_OPERATION.update);
+            } catch (Exception e) {
+                System.out.println("解析JSON失败: " + e.getMessage());
+            }
             log.info("客户推荐人信息同步成功: formInstId={}, mc={}, bm={}", formInstId, mc, bm);
 
         } catch (Exception e) {

+ 27 - 25
mjava-huagao/src/main/java/com/malk/huagao/service/impl/KdYdCustomerServiceImpl.java

@@ -62,20 +62,21 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
                 headers.put("Content-Type", "application/x-www-form-urlencoded");
                 Map<String, Object> formParams = new HashMap<>();
                 Map<String, Object> djbh = new HashMap<>();
-                djbh.put("djbh", bm);
+                djbh.put("khbm", bm);
                 result.put("data", djbh);
                 String jsonStr = JSON.toJSONString(result);
 
                 formParams.put("jsons", jsonStr);
 
                 System.out.println("====" + formParams);
-                HttpResponse response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")//todo 待完善接口
+                HttpResponse response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbdeletecust")
                         .headerMap(headers, true)
                         .form(formParams)
                         .timeout(30000)  // 30秒超时
                         .execute();
 
                 String responseBody = response.body();
+                System.out.println("====" + responseBody);
                 // 返回删除操作的格式
                 result.put("table", "KD_YD_CUSTOMER");
                 result.put("action", "del");
@@ -95,7 +96,9 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
 
             // === 提取主表字段 ===
             String khmc = UtilMap.getString(formData, "textField_lqanqe6j");
+//            String khmc = "测试1111222";
             String khbm = UtilMap.getString(formData, "textField_meqhqqvg");
+//            String khbm = "kh2121212";
             String xssx = UtilMap.getString(formData, "selectField_megi74y7");
             String khxypj = UtilMap.getString(formData, "selectField_mewirdx4");
             String khsx = UtilMap.getString(formData, "selectField_megi74y8");
@@ -104,7 +107,9 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
             String khfz = UtilMap.getString(formData, "selectField_lqanqe6q");
             String fptt = UtilMap.getString(formData, "textField_llujklkr");
             String nsdjh = UtilMap.getString(formData, "textField_meqhqqvm");
+//            String nsdjh = "24234234";
             String khyh = UtilMap.getString(formData, "textField_meqhqqvn");
+//            String khyh = "建设银行";
             String yhzh = UtilMap.getString(formData, "textField_meqhqqvs");
             String jxslx = UtilMap.getString(formData, "selectField_mis6kl56");
             String kplx = UtilMap.getString(formData, "selectField_lwopqbye");
@@ -120,6 +125,8 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
             String qyxygl = UtilMap.getString(formData, "radioField_mfxs7rd2");
             String mrsl = UtilMap.getString(formData, "selectField_mfxrryt3");
             String sfl = UtilMap.getString(formData, "selectField_mfxrryt2");
+            String sfjtkh = UtilMap.getString(formData, "radioField_mhe8e937");
+            String dyjtkh = UtilMap.getString(formData, "textField_mis6kl57");
 
             // 构建主表数据
             Map<String, Object> customData = new HashMap<>();
@@ -135,7 +142,7 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
             customData.put("nsdjh", nsdjh);
             customData.put("khyh", khyh);
             customData.put("yhzh", yhzh);
-            customData.put("jxslx", jxslx);
+            customData.put("khlx", jxslx);
             customData.put("kplx", kplx);
             customData.put("kplxdh", kplxdh);
             customData.put("kptxdz", kptxdz);
@@ -149,6 +156,8 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
             customData.put("qyxygl", qyxygl);
             customData.put("mrsl", mrsl);
             customData.put("sfl", sfl);
+            customData.put("sfjtkh", sfjtkh);
+            customData.put("dyjtkh", dyjtkh);
 
             // 处理子表数据
             List<Map<String, Object>> contactList = new ArrayList<>();
@@ -165,6 +174,7 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
                     String zw = safeGetString(item, "textField_l3s6ubht");
                     String gddh = safeGetString(item, "textField_mfxu5dnk");
                     String bm = safeGetString(item, "textField_mfkp33s5");
+//                    String bm = "LXR239234112";
                     String yx = safeGetString(item, "textField_lqbzc3gr");
 
                     // 添加到联系人列表
@@ -190,16 +200,16 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
 // 构建form参数
                 Map<String, Object> formParams = new HashMap<>();
                 formParams.put("jsons", jsonStr);
-// 发送请求
+                System.out.println("formParams"+formParams);
                 HttpResponse response = null;
-                if (action == "add") {
-                    response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")//todo 修改接口
+                if ("add".equals(action)) {
+                    response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbcreatecust")
                             .headerMap(headers, true)
                             .form(formParams)
                             .timeout(30000)  // 30秒超时
                             .execute();
                 } else {
-                    response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")
+                    response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbupdatecust")
                             .headerMap(headers, true)
                             .form(formParams)
                             .timeout(30000)  // 30秒超时
@@ -207,40 +217,32 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
                 }
 
                 String responseBody = response.body();
+                System.out.println("responseBody" + responseBody);
                 try {
                     // 一行代码提取
-                    String jdbh = JSON.parseArray(responseBody)
-                            .getJSONObject(0)
-                            .getJSONObject("data")
-                            .getString("djbh");
+//                    String jdbh = JSON.parseArray(responseBody)
+//                            .getJSONObject(0)
+//                            .getJSONObject("data")
+//                            .getString("djbh");
                     String msg = JSON.parseArray(responseBody)
                             .getJSONObject(0)
                             .getString("msg");
+                    String code = JSON.parseArray(responseBody)
+                            .getJSONObject(0)
+                            .getString("code");
                     ydClient.operateData(
                             YDParam.builder()
                                     .formInstanceId(formInstId)
-                                    .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textareaField_mkxqgrvq, textField_mjs6fuwo", msg, jdbh)))
+                                    .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_ml08nk3y, textareaField_mkxqgrvq", code, msg)))
                                     .useLatestVersion(true).build(),
                             YDConf.FORM_OPERATION.update);
-//                    Map<String, Object> updatePayload = new HashMap<>();
-//                    updatePayload.put("tableField_mfkks8ww", updatedTableRowsForYD);
-//                    ydClient.operateData(
-//                            YDParam.builder()
-//                                    .formInstanceId(formInstId)
-//                                    .updateFormDataJson(JSONObject.toJSONString(updatePayload))
-//                                    .useLatestVersion(true)
-//                                    .build(),
-//                            YDConf.FORM_OPERATION.update
-//                    );
+//
                     log.info("回写数据到宜搭成功,formInstId: {}", formInstId);
                 } catch (Exception e) {
                     log.warn("回写数据到宜搭失败,formInstId: {}, 错误: {}", formInstId, e.getMessage());
                 }
             }
 
-            // 构建返回结果
-            result.put("table", "KD_YD_CUSTOMER");
-            result.put("action", action != null ? action : "add");
             result.put("data", customData);
 
             log.info("客户信息同步成功: formInstId={}, khmc={}, khbm={}", formInstId, khmc, khbm);

+ 72 - 17
mjava-huagao/src/main/java/com/malk/huagao/service/impl/KdYdDeliveryServiceImpl.java

@@ -1,5 +1,7 @@
 package com.malk.huagao.service.impl;
 
+import cn.hutool.http.HttpRequest;
+import cn.hutool.http.HttpResponse;
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
@@ -54,13 +56,29 @@ public class KdYdDeliveryServiceImpl extends ServiceImpl<KdYdDeliveryMapper, KdY
         try {
             MDC.put("MDC_KEY_PID", "1003");
             String formInstId = UtilMap.getString(map, "formInstId");
-            String action = UtilMap.getString(map, "action");
+            String action = UtilMap.getString(map, "type");
 
             // 处理特殊操作类型
             if ("del".equals(action)) {
                 String bm = UtilMap.getString(map, "bm");
-                //todo 删除逻辑
 
+                Map<String, String> headers = new HashMap<>();
+                headers.put("Content-Type", "application/x-www-form-urlencoded");
+                Map<String, Object> formParams = new HashMap<>();
+                Map<String, Object> djbh = new HashMap<>();
+                djbh.put("djbh", bm);
+                result.put("data", djbh);
+                String jsonStr = JSON.toJSONString(result);
+                formParams.put("jsons", jsonStr);
+
+                HttpResponse response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbdeletefhtzd")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+
+                String responseBody = response.body();
+                System.out.println("responseBody===="+responseBody);
                 // 返回删除操作的格式
                 result.put("table", "KD_YD_DELIVERY");
                 result.put("action", "del");
@@ -92,7 +110,15 @@ public class KdYdDeliveryServiceImpl extends ServiceImpl<KdYdDeliveryMapper, KdY
             String xslx = UtilMap.getString(formData, "selectField_mgrn6p2d");
             String bzfs = UtilMap.getString(formData, "selectField_mf6a0h5y");
             String bz = UtilMap.getString(formData, "textareaField_mejnamfb");
-            LocalDateTime hhsj = parseTimestamp(UtilMap.getString(formData, "dateField_mf6a0h67"));
+//            LocalDateTime hhsj = parseTimestamp(UtilMap.getString(formData, "dateField_mf6a0h67"));
+            LocalDateTime hhsj = Optional.ofNullable(
+                            parseTimestamp(UtilMap.getString(formData, "dateField_mf6a0h67"))
+                    )
+                    .orElseGet(() -> LocalDateTime.now()
+                            .withHour(17)
+                            .withMinute(0)
+                            .withSecond(0)
+                            .withNano(0));
             String ysfs = UtilMap.getString(formData, "selectField_mf6a0h5z");
             String hdfs = UtilMap.getString(formData, "selectField_mf6a0h60");
             String kdgs = UtilMap.getString(formData, "selectField_mf6a0h61");
@@ -170,24 +196,53 @@ public class KdYdDeliveryServiceImpl extends ServiceImpl<KdYdDeliveryMapper, KdY
             deliveryData.put("fkfs", fkfs);
             deliveryData.put("DeliveryList", deliveryList);
 
-            // 设置返回结果
-            result.put("table", "KD_YD_DELIVERY");
-            result.put("action", action != null ? action : "add");
+            Map<String, String> headers = new HashMap<>();
+            headers.put("Content-Type", "application/x-www-form-urlencoded");
+
             result.put("data", deliveryData);
+// 将result转换为JSON字符串
+            String jsonStr = JSON.toJSONString(result);
+// 构建form参数
+            Map<String, Object> formParams = new HashMap<>();
+            formParams.put("jsons", jsonStr);
+            System.out.println("formParams==="+formParams);
+// 发送请求
+            HttpResponse response = null;
+            if ("add".equals(action)) {
+                response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbcreatefhtzd")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+            } else {
+                response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/")
+                        .headerMap(headers, true)
+                        .form(formParams)
+                        .timeout(30000)  // 30秒超时
+                        .execute();
+            }
 
-            // 添加日志记录
-            log.info("发货通知单同步成功: formInstId={}, djbh={}, kh={}", formInstId, djbh, kh);
+            String responseBody = response.body();
+            System.out.println("responseBody===="+responseBody);
 
-            // 如果需要回写到表单,可以在这里操作
-        /*
-        ydClient.operateData(
-            YDParam.builder()
-                .formInstanceId(formInstId)
-                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_mgrqnxmm", "需要回写的值")))
-                .useLatestVersion(true).build(),
-            YDConf.FORM_OPERATION.update);
-        */
+            try {
 
+                String msg = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("msg");
+                String code = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("code");
+                ydClient.operateData(
+                        YDParam.builder()
+                                .formInstanceId(formInstId)
+                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_ml08nk3y, textareaField_mkz9u4p9", code, msg)))
+                                .useLatestVersion(true).build(),
+                        YDConf.FORM_OPERATION.update);
+
+            } catch (Exception e) {
+                System.out.println("解析JSON失败: " + e.getMessage());
+            }
         } catch (Exception e) {
             log.error("发货通知单同步异常", e);
             result.put("table", "KD_YD_DELIVERY");

+ 4 - 0
mjava-huagao/src/main/java/com/malk/huagao/service/impl/KdYdMaterialServiceImpl.java

@@ -197,6 +197,8 @@ public class KdYdMaterialServiceImpl extends ServiceImpl<KdYdMaterialMapper, KdY
                     String wlmc = safeGetStringValue(kdYdMaterial, "wlmc");
                     String xh = safeGetStringValue(kdYdMaterial, "xh");
                     String gg = safeGetStringValue(kdYdMaterial, "gg");
+                    String kssj = safeGetStringValue(kdYdMaterial, "kssj");
+                    String jzsj = safeGetStringValue(kdYdMaterial, "jzsj");
 
                     // 修复:安全处理FMATERIALID,可能为字符串或数字
                     Object fmaterialidObj = kdYdMaterial.get("FMATERIALID");
@@ -266,6 +268,8 @@ public class KdYdMaterialServiceImpl extends ServiceImpl<KdYdMaterialMapper, KdY
                     updateFormData.put("textField_mfxbtcdo", jbdw);
                     updateFormData.put("textField_mfxbtcdp", ssxl);
                     updateFormData.put("textField_mejl9nrs", jx);
+                    updateFormData.put("dateField_ml4ikfa0", kssj);
+                    updateFormData.put("dateField_ml4ikfa1", jzsj);
 
                     if (sd != null) {
                         updateFormData.put("numberField_mfxbtceb", sd);

+ 9 - 3
mjava-huagao/src/main/java/com/malk/huagao/service/impl/KdYdOrderServiceImpl.java

@@ -117,10 +117,13 @@ public class KdYdOrderServiceImpl extends ServiceImpl<KdYdOrderMapper, KdYdOrder
                 String msg = JSON.parseArray(responseBody)
                         .getJSONObject(0)
                         .getString("msg");
+                String code = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("code");
                 ydClient.operateData(
                         YDParam.builder()
                                 .formInstanceId(formInstId)
-                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textareaField_mkxqgrvq", msg)))
+                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_ml08nk3y, textareaField_mkxqgrvq", code, msg)))
                                 .useLatestVersion(true).build(),
                         YDConf.FORM_OPERATION.update);
                 // 返回作废操作的格式
@@ -308,7 +311,7 @@ public class KdYdOrderServiceImpl extends ServiceImpl<KdYdOrderMapper, KdYdOrder
             formParams.put("jsons", jsonStr);
 // 发送请求
             HttpResponse response = null;
-            if (actionType == "add") {
+            if ("add".equals(actionType)) {
                 response = HttpRequest.post("http://113.45.187.194:70/xk/dyzn/WsBasedyzn.asmx/hgdjydtbxsdd")
                         .headerMap(headers, true)
                         .form(formParams)
@@ -332,10 +335,13 @@ public class KdYdOrderServiceImpl extends ServiceImpl<KdYdOrderMapper, KdYdOrder
                 String msg = JSON.parseArray(responseBody)
                         .getJSONObject(0)
                         .getString("msg");
+                String code = JSON.parseArray(responseBody)
+                        .getJSONObject(0)
+                        .getString("code");
                 ydClient.operateData(
                         YDParam.builder()
                                 .formInstanceId(formInstId)
-                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textareaField_mkxqgrvq, textField_mjs6fuwo", msg, jdbh)))
+                                .updateFormDataJson(JSONObject.toJSONString(UtilMap.map("textField_ml08nk3y, textareaField_mkxqgrvq, textField_mjs6fuwo", code, msg, jdbh)))
                                 .useLatestVersion(true).build(),
                         YDConf.FORM_OPERATION.update);
 

+ 1 - 1
mjava-huagao/src/main/resources/application.yml

@@ -1,6 +1,6 @@
 spring:
   profiles:
-    active: dev
+    active: prod
   servlet:
     multipart:
       max-file-size: 100MB