| | |
| | | package com.oying.modules.pc.product.service; |
| | | |
| | | import com.oying.modules.pc.product.domain.ProductAudit; |
| | | import com.oying.modules.pc.product.domain.dto.ProductMerchantCreateRequest; |
| | | import com.oying.modules.pc.product.domain.dto.ProductMerchantUpdateRequest; |
| | | import com.oying.modules.pc.product.domain.dto.ProductPriceUpdateRequest; |
| | | import com.oying.modules.pc.product.domain.enums.ProductAuditTypeEnum; |
| | | import com.oying.modules.pc.product.events.ProductAuditVerdictEvent; |
| | | |
| | | import java.util.List; |
| | |
| | | public interface ProductMerchantService { |
| | | |
| | | void create(ProductMerchantCreateRequest request); |
| | | void createWithAudit(ProductMerchantCreateRequest request); |
| | | void submitToAudit(Long productId, ProductAuditTypeEnum productAuditType); |
| | | void update(ProductMerchantUpdateRequest request); |
| | | void updatePrice(ProductPriceUpdateRequest request); |
| | | void updateImages(ProductMerchantUpdateRequest request); |
| | | void updateLabels(ProductMerchantUpdateRequest request); |
| | | void batchDelete(List<Long> ids); |
| | | void putOnShelf(Long productId); |
| | | void takeOffShelf(Long productId); |
| | | void handleAuditVerdictEvent(ProductAuditVerdictEvent event); |
| | | |
| | | } |