package shop.alien.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import shop.alien.entity.store.vo.PlatformShopMembershipAdminRowVo;

import java.util.List;

@Mapper
public interface PlatformShopMembershipAdminMapper {

    IPage<PlatformShopMembershipAdminRowVo> selectStoreMembershipPage(
            Page<?> page,
            @Param("keyword") String keyword,
            @Param("membershipUiStatus") Integer membershipUiStatus,
            @Param("expiryStart") String expiryStart,
            @Param("expiryEnd") String expiryEnd);

    List<PlatformShopMembershipAdminRowVo> selectStoreMembershipList(
            @Param("keyword") String keyword,
            @Param("membershipUiStatus") Integer membershipUiStatus,
            @Param("expiryStart") String expiryStart,
            @Param("expiryEnd") String expiryEnd);
}
