package com.hzs.member.store.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.store.CuStore;
import com.hzs.common.domain.member.store.ext.CuStoreExt;
import com.hzs.member.handlebusiness.dto.AnalysisBusinessAppealParam;
import com.hzs.member.store.param.StoreQueryParam;
import com.hzs.member.store.vo.CuStoreVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 店铺设置 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2023-05-04
 */
public interface CuStoreMapper extends BaseMapper<CuStore> {

    /**
     * @description: 查询店铺列表
     * @author: zhang jing
     * @date: 2023/5/4 17:55
     * @param: [storeVO]
     * @return: java.util.List<com.hzs.member.store.vo.CuStoreVO>
     **/
    List<CuStoreVO>queryStoreList(CuStoreVO storeVO);

    /**
     * @description: 校验店铺订单
     * @author: zhang jing
     * @date: 2023/10/31 17:22
     * @param: [storeVO]
     * @return: java.util.List<com.hzs.member.store.vo.CuStoreVO>
     **/
    CuStoreVO checkOrder(CuStoreVO storeVO);

    /**
     * @description: 查询最新店铺编号
     * @author: zhang jing
     * @date: 2024/1/2 14:07
     * @param: []
     * @return: java.util.List<com.hzs.common.domain.member.store.CuStore>
     **/
    List<CuStore> selectMaxList(@Param("pkCountry") Integer pkCountry);

    /**
     * 查询会员端店铺列表
     *
     * @param param     查询参数
     * @return
     */
    List<CuStoreExt> queryStoreApiList(@Param("param") StoreQueryParam param);

    /**
     * @description: 查询店铺等级值
     * @author: zhang jing
     * @date: 2024/4/9 11:50
     * @param: [param]
     * @return: java.lang.Integer
     **/
    CuStoreVO queryStoreLevelById(@Param("param") CuStoreVO param);

    /*
     * @description: 查询所有国家的店铺
     * @author: sui q
     * @date: 2024/4/3 10:16
     * @param: null null
     **/
    List<CuStoreExt> queryAllMemberStore();

    /**
     * @description: 修改店铺信息
     * @author: zhang jing
     * @date: 2024/7/4 14:03
     * @param: [cuStore]
     * @return: boolean
     **/
    int updateStore(CuStore cuStore);
}
