package cc.mrbird.febs.mall.service;
|
|
import cc.mrbird.febs.common.entity.FebsResponse;
|
import cc.mrbird.febs.common.entity.QueryRequest;
|
import cc.mrbird.febs.mall.dto.AdminHappyActivityCategoryDto;
|
import cc.mrbird.febs.mall.dto.activity.AdminCategoryAddDto;
|
import cc.mrbird.febs.mall.dto.activity.AdminCategoryUpdateDto;
|
import cc.mrbird.febs.mall.dto.clothes.*;
|
import cc.mrbird.febs.mall.entity.*;
|
import cc.mrbird.febs.mall.vo.clothes.AdminClothesOrderListVo;
|
import cc.mrbird.febs.mall.vo.clothes.AdminClothesSocialCommentVo;
|
import cc.mrbird.febs.mall.vo.clothes.AdminClothesSocialListVo;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.IOException;
|
import java.io.UnsupportedEncodingException;
|
import java.util.List;
|
|
public interface ClothesTypeService extends IService<ClothesType> {
|
|
IPage<ClothesType> adminTypeList(ClothesType dto, QueryRequest request);
|
|
FebsResponse typeAdd(ClothesType dto);
|
|
FebsResponse typeUpdate(ClothesType dto);
|
|
FebsResponse changeState(Long id, Integer type, Integer state);
|
|
IPage<ClothesSize> adminSizeList(ClothesSize dto, QueryRequest request);
|
|
FebsResponse sizeAdd(ClothesSize dto);
|
|
FebsResponse sizeUpdate(ClothesSize dto);
|
|
IPage<ClothesPattern> adminPatternList(ClothesPattern dto, QueryRequest request);
|
|
FebsResponse patternAdd(ClothesPattern dto);
|
|
FebsResponse patternUpdate(ClothesPattern dto);
|
|
IPage<ClothesLocation> adminLocationList(ClothesLocation dto, QueryRequest request);
|
|
FebsResponse locationAdd(ClothesLocation dto);
|
|
FebsResponse locationUpdate(ClothesLocation dto);
|
|
IPage<ClothesCloth> adminClothList(ClothesCloth dto, QueryRequest request);
|
|
FebsResponse clothAdd(ClothesCloth dto);
|
|
FebsResponse clothUpdate(ClothesCloth dto);
|
|
IPage<ClothesArt> adminArtList(ClothesArt dto, QueryRequest request);
|
|
FebsResponse artAdd(ClothesArt dto);
|
|
FebsResponse artUpdate(ClothesArt dto);
|
|
FebsResponse artSet(AdminClothesTypeInfoDto dto);
|
|
FebsResponse sizeSet(AdminClothesTypeInfoDto dto);
|
|
FebsResponse clothSet(AdminClothesTypeInfoDto dto);
|
|
FebsResponse patternSet(AdminClothesTypeInfoDto dto);
|
|
FebsResponse locationSet(AdminClothesTypeInfoDto dto);
|
|
IPage<AdminClothesOrderListVo> getOrderListInPage(AdminClothesOrderListDto dto, QueryRequest request);
|
|
FebsResponse deliverGoods(AdminClothesDeliverGoodsDto dto);
|
|
FebsResponse deliverGoodsUpdate(AdminClothesDeliverGoodsDto dto);
|
|
FebsResponse refundOrder(AdminClothesRefundOrderDto dto);
|
|
void confirmOrder(long orderId);
|
|
void exportOrderList(List<Long> list, HttpServletResponse response) throws IOException;
|
|
void deliverGoodsImport(AdminClothesDeliverGoodsDto dto);
|
|
IPage<AdminClothesSocialListVo> getSocialListInPage(AdminClothesSocialListDto dto, QueryRequest request);
|
|
IPage<AdminClothesSocialCommentVo> socialComment(ClothesSocialComment dto, QueryRequest request);
|
|
FebsResponse socialState(Long id, Integer state);
|
|
FebsResponse commentStateSwitch(Long id, Integer state);
|
|
FebsResponse showStateSwitch(Long id, Integer state);
|
|
FebsResponse socialHotState(Long id, Integer state);
|
|
FebsResponse socialDelete(Long id);
|
|
List<ClothesSocialCategory> allGroup();
|
|
IPage<ClothesSocialCategory> getGroupList(AdminClothesSocialCategoryDto dto, QueryRequest request);
|
|
FebsResponse addGroup(AdminClothesCategoryAddDto dto);
|
|
FebsResponse groupDelete(Long id);
|
|
FebsResponse groupUpdate(AdminClothesCategoryUpdateDto dto);
|
|
FebsResponse groupState(Long id, Integer type);
|
|
FebsResponse socialAdd(ClothesSocial dto);
|
|
FebsResponse socialUpdate(ClothesSocial dto);
|
|
List<ClothesType> allType();
|
|
List<ClothesCloth> allCloth(Long typeId);
|
|
List<ClothesPattern> allPattern(Long typeId);
|
|
List<ClothesLocation> allLocation(Long typeId);
|
|
List<ClothesSize> allSize(Long typeId);
|
|
List<ClothesArt> allArt(Long typeId);
|
|
FebsResponse socialMuseUpdate(ClothesSocialMuse dto);
|
}
|