From bbc4add99e1d925e97277ed5f2d90d9293cdab8c Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期四, 25 九月 2025 18:49:31 +0800 Subject: [PATCH] 初始化店铺扫码领取优惠卷 --- framework/src/main/java/cn/lili/modules/lmk/mapper/StoreCouponMapper.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/mapper/StoreCouponMapper.java b/framework/src/main/java/cn/lili/modules/lmk/mapper/StoreCouponMapper.java new file mode 100644 index 0000000..2d07568 --- /dev/null +++ b/framework/src/main/java/cn/lili/modules/lmk/mapper/StoreCouponMapper.java @@ -0,0 +1,34 @@ +package cn.lili.modules.lmk.mapper; + +import cn.lili.modules.lmk.domain.entity.StoreCoupon; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import cn.lili.modules.lmk.domain.vo.StoreCouponVO; +import cn.lili.modules.lmk.domain.form.StoreCouponForm; +import cn.lili.modules.lmk.domain.query.StoreCouponQuery; +import java.util.List; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +/** + * 搴楅摵浼樻儬鍗峰搴斿叧绯� Mapper 鎺ュ彛 + * + * @author peng + * @since 2025-09-25 + */ +@Mapper +public interface StoreCouponMapper extends BaseMapper<StoreCoupon> { + + /** + * id鏌ユ壘搴楅摵浼樻儬鍗峰搴斿叧绯� + * @param id + * @return + */ + StoreCouponVO getById(String id); + + /** + * 鍒嗛〉 + */ + IPage getPage(IPage page, @Param("query") StoreCouponQuery query); + +} -- Gitblit v1.8.0