采购配置相关

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent bd9a17e2b3
commit 9f318692f5

@ -0,0 +1,7 @@
package com.ms.api.dto.move;
import lombok.Data;
@Data
public class SearchDsSourceSellerListDTO {
}

@ -32,8 +32,6 @@ public class GetDsAutoPurchaseSwitchLogListService extends SPIBaseService implem
public BaseResponse<Ret> handle(BaseRequest<Void> req) { public BaseResponse<Ret> handle(BaseRequest<Void> req) {
initHandle(req); initHandle(req);
Long shopId = Long.valueOf(this.shopId);
List<DsAutoPurchaseSwitchLog> logList = purchaseOrderService.getDsAutoPurchaseSwitchLogListByShopId(shopId); List<DsAutoPurchaseSwitchLog> logList = purchaseOrderService.getDsAutoPurchaseSwitchLogListByShopId(shopId);
ModelMapper modelMapper = new ModelMapper(); ModelMapper modelMapper = new ModelMapper();

@ -39,7 +39,6 @@ public class GetPurchaseSettingService extends SPIBaseService implements Extensi
@Override @Override
public BaseResponse<Ret> handle(BaseRequest<Void> req) { public BaseResponse<Ret> handle(BaseRequest<Void> req) {
initHandle(req); initHandle(req);
Long shopId = Long.valueOf(this.shopId);
// purchaseSetting 为采购配置 【存储到下游 - 下游店铺级别配置 对应table: purchase_setting】 【包含 自动备注|自动发货】 // purchaseSetting 为采购配置 【存储到下游 - 下游店铺级别配置 对应table: purchase_setting】 【包含 自动备注|自动发货】
PurchaseSettingDTO purchaseSetting = purchaseOrderUtil.getPurchaseSetting(shopId); PurchaseSettingDTO purchaseSetting = purchaseOrderUtil.getPurchaseSetting(shopId);

@ -24,7 +24,6 @@ public class SaveDsAutoPurchaseAgreementService extends SPIBaseService implement
@Override @Override
public BaseResponse<Ret> handle(BaseRequest<SaveDsAutoPurchaseAgreementRequestDTO> req) { public BaseResponse<Ret> handle(BaseRequest<SaveDsAutoPurchaseAgreementRequestDTO> req) {
initHandle(req); initHandle(req);
Long shopId = Long.valueOf(this.shopId);
SaveDsAutoPurchaseAgreementRequestDTO requestDTO = req.getData(); SaveDsAutoPurchaseAgreementRequestDTO requestDTO = req.getData();

@ -45,7 +45,6 @@ public class SavePurchaseSettingService extends SPIBaseService implements Extens
@Override @Override
public BaseResponse<Ret> handle(BaseRequest<SavePurchaseSettingRequestDTO> req) { public BaseResponse<Ret> handle(BaseRequest<SavePurchaseSettingRequestDTO> req) {
initHandle(req); initHandle(req);
Long shopId = Long.valueOf(this.shopId);
SavePurchaseSettingRequestDTO requestDTO = req.getData(); SavePurchaseSettingRequestDTO requestDTO = req.getData();

@ -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<SearchDsSourceSellerListDTO, Ret> {
@Override
public BaseResponse<Ret> handle(BaseRequest<SearchDsSourceSellerListDTO> req) {
initHandle(req);
return R.ok(Ret.success());
}
}
Loading…
Cancel
Save