parent
353f88140e
commit
888b39c930
@ -0,0 +1,11 @@
|
||||
package com.macro.mall.dao;
|
||||
|
||||
import com.macro.mall.dto.SmsCouponParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 优惠券管理自定义查询Dao
|
||||
*/
|
||||
public interface SmsCouponDao {//优惠券Dao
|
||||
SmsCouponParam getItem(@Param("id") Long id);
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.macro.mall.dao;
|
||||
|
||||
import com.macro.mall.model.SmsCouponProductCategoryRelation;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 优惠券和商品分类关系自定义Dao
|
||||
*/
|
||||
public interface SmsCouponProductCategoryRelationDao {//优惠券商品分类关系
|
||||
int insertList(@Param("list")List<SmsCouponProductCategoryRelation> productCategoryRelationList);
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package com.macro.mall.dao;
|
||||
|
||||
import com.macro.mall.model.SmsCouponProductRelation;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 优惠券和产品关系自定义Dao
|
||||
*/
|
||||
public interface SmsCouponProductRelationDao {//优惠券商品关系
|
||||
int insertList(@Param("list")List<SmsCouponProductRelation> productRelationList);
|
||||
}
|
Loading…
Reference in new issue