From 9f318692f5e04db04f677a0bdd06de1523e4c91a Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Fri, 1 Sep 2023 11:10:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=85=8D=E7=BD=AE=E7=9B=B8?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/move/SearchDsSourceSellerListDTO.java | 7 +++++ ...GetDsAutoPurchaseSwitchLogListService.java | 2 -- .../spi/order/GetPurchaseSettingService.java | 1 - .../SaveDsAutoPurchaseAgreementService.java | 1 - .../spi/order/SavePurchaseSettingService.java | 1 - .../SearchDsSourceSellerListService.java | 26 +++++++++++++++++++ 6 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 ms-api/src/main/java/com/ms/api/dto/move/SearchDsSourceSellerListDTO.java create mode 100644 ms-biz/src/main/java/com/ms/api/spi/order/SearchDsSourceSellerListService.java diff --git a/ms-api/src/main/java/com/ms/api/dto/move/SearchDsSourceSellerListDTO.java b/ms-api/src/main/java/com/ms/api/dto/move/SearchDsSourceSellerListDTO.java new file mode 100644 index 00000000..4852dba5 --- /dev/null +++ b/ms-api/src/main/java/com/ms/api/dto/move/SearchDsSourceSellerListDTO.java @@ -0,0 +1,7 @@ +package com.ms.api.dto.move; + +import lombok.Data; + +@Data +public class SearchDsSourceSellerListDTO { +} diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/GetDsAutoPurchaseSwitchLogListService.java b/ms-biz/src/main/java/com/ms/api/spi/order/GetDsAutoPurchaseSwitchLogListService.java index 5f6a5236..164872ae 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/order/GetDsAutoPurchaseSwitchLogListService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/order/GetDsAutoPurchaseSwitchLogListService.java @@ -32,8 +32,6 @@ public class GetDsAutoPurchaseSwitchLogListService extends SPIBaseService implem public BaseResponse handle(BaseRequest req) { initHandle(req); - Long shopId = Long.valueOf(this.shopId); - List logList = purchaseOrderService.getDsAutoPurchaseSwitchLogListByShopId(shopId); ModelMapper modelMapper = new ModelMapper(); diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/GetPurchaseSettingService.java b/ms-biz/src/main/java/com/ms/api/spi/order/GetPurchaseSettingService.java index 985f48d6..046eea4c 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/order/GetPurchaseSettingService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/order/GetPurchaseSettingService.java @@ -39,7 +39,6 @@ public class GetPurchaseSettingService extends SPIBaseService implements Extensi @Override public BaseResponse handle(BaseRequest req) { initHandle(req); - Long shopId = Long.valueOf(this.shopId); // purchaseSetting 为采购配置 【存储到下游 - 下游店铺级别配置 对应table: purchase_setting】 【包含 自动备注|自动发货】 PurchaseSettingDTO purchaseSetting = purchaseOrderUtil.getPurchaseSetting(shopId); diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/SaveDsAutoPurchaseAgreementService.java b/ms-biz/src/main/java/com/ms/api/spi/order/SaveDsAutoPurchaseAgreementService.java index a38a400b..b393608b 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/order/SaveDsAutoPurchaseAgreementService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/order/SaveDsAutoPurchaseAgreementService.java @@ -24,7 +24,6 @@ public class SaveDsAutoPurchaseAgreementService extends SPIBaseService implement @Override public BaseResponse handle(BaseRequest req) { initHandle(req); - Long shopId = Long.valueOf(this.shopId); SaveDsAutoPurchaseAgreementRequestDTO requestDTO = req.getData(); diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/SavePurchaseSettingService.java b/ms-biz/src/main/java/com/ms/api/spi/order/SavePurchaseSettingService.java index 4a31ca96..895080f0 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/order/SavePurchaseSettingService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/order/SavePurchaseSettingService.java @@ -45,7 +45,6 @@ public class SavePurchaseSettingService extends SPIBaseService implements Extens @Override public BaseResponse handle(BaseRequest req) { initHandle(req); - Long shopId = Long.valueOf(this.shopId); SavePurchaseSettingRequestDTO requestDTO = req.getData(); diff --git a/ms-biz/src/main/java/com/ms/api/spi/order/SearchDsSourceSellerListService.java b/ms-biz/src/main/java/com/ms/api/spi/order/SearchDsSourceSellerListService.java new file mode 100644 index 00000000..02da19dd --- /dev/null +++ b/ms-biz/src/main/java/com/ms/api/spi/order/SearchDsSourceSellerListService.java @@ -0,0 +1,26 @@ +package com.ms.api.spi.order; + +import com.jinritemai.cloud.base.api.BaseRequest; +import com.jinritemai.cloud.base.api.BaseResponse; +import com.jinritemai.cloud.base.api.ExtensionService; +import com.jinritemai.cloud.base.api.ExtensionServiceHandler; +import com.ms.api.common.R; +import com.ms.api.common.Ret; +import com.ms.api.common.SPIBaseService; +import com.ms.api.dto.move.SearchDsSourceSellerListDTO; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; + +@ExtensionService("searchDsSourceSellerList") +@Slf4j +@AllArgsConstructor +public class SearchDsSourceSellerListService extends SPIBaseService implements ExtensionServiceHandler { + @Override + public BaseResponse handle(BaseRequest req) { + initHandle(req); + + + + return R.ok(Ret.success()); + } +}