New file |
| | |
| | | package cn.lili.modules.lmk.mapper; |
| | | |
| | | import cn.lili.modules.lmk.domain.entity.StoreCouponSingle; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import cn.lili.modules.lmk.domain.vo.StoreCouponSingleVO; |
| | | import cn.lili.modules.lmk.domain.form.StoreCouponSingleForm; |
| | | import cn.lili.modules.lmk.domain.query.StoreCouponSingleQuery; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * 店铺优惠卷单品 Mapper 接口 |
| | | * |
| | | * @author peng |
| | | * @since 2025-09-26 |
| | | */ |
| | | @Mapper |
| | | public interface StoreCouponSingleMapper extends BaseMapper<StoreCouponSingle> { |
| | | |
| | | /** |
| | | * id查找店铺优惠卷单品 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | StoreCouponSingleVO getById(String id); |
| | | |
| | | /** |
| | | * 分页 |
| | | */ |
| | | IPage getPage(IPage page, @Param("query") StoreCouponSingleQuery query); |
| | | |
| | | /** |
| | | * 分页 |
| | | */ |
| | | IPage getPageByRefId(IPage page, @Param("query") StoreCouponSingleQuery query); |
| | | |
| | | } |