From 2666ca2bae4d20f90a6b9ed1acd417fa46edfe62 Mon Sep 17 00:00:00 2001 From: clong <1584238099@qq.com> Date: Mon, 4 Sep 2023 17:02:37 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/supplier/SupplierContactInfoCreateEAIService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierContactInfoCreateEAIService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierContactInfoCreateEAIService.java index 2b3e25e..324c1c8 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierContactInfoCreateEAIService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierContactInfoCreateEAIService.java @@ -1,5 +1,6 @@ package com.digiwin.athena.app.service.supplier; +import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.TypeReference; import com.digiwin.app.service.DWEAIResult; import com.digiwin.athena.app.infra.entity.SupplierContactEntity; @@ -51,6 +52,6 @@ public class SupplierContactInfoCreateEAIService extends AbsEAIService { this.supplierContactInfoService.saveBatch(supplierContactEntities); - return EAIUtil.buildEAIResult(new HashMap<>()); + return EAIUtil.buildEAIResult(new JSONObject().fluentPut("contact_info", supplierContactEntities)); } } From 093e7411607018039ca4e5d5005088969de01768 Mon Sep 17 00:00:00 2001 From: zhenggl Date: Mon, 4 Sep 2023 17:04:30 +0800 Subject: [PATCH 2/3] =?UTF-8?q?create=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=9B=9E=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../athena/app/service/supplier/SupplierCreateEAIService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierCreateEAIService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierCreateEAIService.java index 5f2e761..db8837d 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierCreateEAIService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/supplier/SupplierCreateEAIService.java @@ -1,5 +1,6 @@ package com.digiwin.athena.app.service.supplier; +import com.alibaba.fastjson.JSONObject; import com.digiwin.app.service.DWEAIResult; import com.digiwin.athena.app.infra.entity.ItemSupplierEntity; import com.digiwin.athena.app.infra.service.SupplierService; @@ -35,6 +36,6 @@ public class SupplierCreateEAIService extends AbsEAIService { EAIRequest eaiRequest = EAIRequest.build(messageBody); List supplierInfo = eaiRequest.getObject("item_supplier_info", SupplierUtil.LIST_ENTITY_SUPPLIER); supplierService.saveBatch(supplierInfo); - return EAIUtil.buildEAIResult(new HashMap<>()); + return EAIUtil.buildEAIResult(new JSONObject().fluentPut("item_supplier_info", supplierInfo)); } } From 50eb67cabab4a66196dfba2f7e6081ebc12b4757 Mon Sep 17 00:00:00 2001 From: xieps <514331757@qq.com> Date: Mon, 4 Sep 2023 17:06:50 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=E5=93=81=E5=8F=B7=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E4=BA=BAcreate=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/executor/ItemExecutorCreateEAIService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/executor/ItemExecutorCreateEAIService.java b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/executor/ItemExecutorCreateEAIService.java index ed366ce..47acf67 100644 --- a/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/executor/ItemExecutorCreateEAIService.java +++ b/demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/service/executor/ItemExecutorCreateEAIService.java @@ -1,6 +1,7 @@ package com.digiwin.athena.app.service.executor; import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.digiwin.app.container.exceptions.DWBusinessException; import com.digiwin.app.service.DWEAIResult; @@ -62,7 +63,7 @@ public class ItemExecutorCreateEAIService extends AbsEAIService { //进行批量新增 itemExecutorService.saveBatch(itemExecutorInfo); - return EAIUtil.buildEAIResult(new HashMap<>()); + return EAIUtil.buildEAIResult(new JSONObject().fluentPut("item_executor_info",itemExecutorInfo)); }