package com.ssm.manage.mapper;

import com.ssm.core.mapper.BaseMapper;
import com.ssm.manage.entity.CouponShare;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Component
public interface CouponShareMapper extends BaseMapper<CouponShare> {

    /**
     * 查询所有数据
     *
     * @param couponShare
     * @return
     */
    List<CouponShare> queryAll(CouponShare couponShare);

    CouponShare getById(Serializable id);

    int save(CouponShare couponShare);

    int updateById(CouponShare couponShare);


    int removeById(Serializable id);

    int selCount(CouponShare couponShare);

    int choiceRepeat(CouponShare couponShare1);
}
