优惠券管理代码

master
王皓雯 6 years ago
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…
Cancel
Save