CouponMapper.java
589 Bytes
package com.yoho.ufo.dal;
import com.yoho.ufo.model.coupon.Coupon;
import com.yohobuy.ufo.coupon.req.CouponQueryReq;
import com.yohobuy.ufo.coupon.req.CouponSaveUpdateReq;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Created by shengguo.cai on 2018/11/20.
*/
public interface CouponMapper {
int selectTotalByCondition(@Param("param") CouponQueryReq param);
List<Coupon> selectByCondition(@Param("param") CouponQueryReq param);
Coupon selectById(@Param("id") Integer id);
void insertOrUpdate(@Param("param") CouponSaveUpdateReq param);
}