| | |
| | | import com.baomidou.mybatisplus.core.toolkit.Constants; |
| | | import com.doumee.dao.business.model.MemberCoupon; |
| | | import com.doumee.dao.web.dto.CouponDTO; |
| | | import com.doumee.dao.web.response.MemberCouponResponse; |
| | | import com.github.yulichang.base.mapper.MPJJoinMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | |
| | | * @author 江蹄蹄 |
| | | * @date 2023/03/21 15:48 |
| | | */ |
| | | public interface MemberCouponMapper extends BaseMapper<MemberCoupon> { |
| | | public interface MemberCouponMapper extends MPJJoinMapper<MemberCoupon> { |
| | | |
| | | |
| | | @Select(" select m.* " + |
| | | " from member_coupon m " + |
| | | " ${ew.customSqlSegment} ") |
| | | IPage<CouponDTO> memberCouponPage(IPage<CouponDTO> page, @Param(Constants.WRAPPER) Wrapper wrapper); |
| | | |
| | | IPage<MemberCouponResponse> memberCouponPage(IPage<CouponDTO> page, @Param(Constants.WRAPPER) Wrapper wrapper); |
| | | |
| | | } |