package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.UseStore;
import com.ssm.manage.query.PlatformCouponRequest;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UseStoreMapper extends BaseMapper<UseStore> {
    /**
     * 查询所有数据
     *
     * @param useStore
     * @return
     */
    List<UseStore> queryAll(UseStore useStore);

    UseStore selectStore(@Param("storeNum") String storeNum);

    int deleteuseStore(@Param("storeNum") String storeNum,@Param("platformCoupon") PlatformCouponRequest platformCoupon);
}
