You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
844 B
44 lines
844 B
package com.hai.service;
|
|
|
|
import com.hai.entity.HighDiscount;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @Auther: 胡锐
|
|
* @Description: 优惠券
|
|
* @Date: 2021/4/3 21:34
|
|
*/
|
|
public interface HighDiscountService {
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 增加
|
|
* @Date 2021/4/3 21:34
|
|
*/
|
|
void insertDiscount(HighDiscount highDiscount);
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 修改
|
|
* @Date 2021/4/3 21:36
|
|
**/
|
|
void updateDiscount(HighDiscount highDiscount);
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 根据id查询
|
|
* @Date 2021/4/3 21:37
|
|
**/
|
|
HighDiscount getDiscountById(Long id);
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 查询优惠券列表
|
|
* @Date 2021/4/3 21:39
|
|
**/
|
|
List<HighDiscount> getDiscount(Map<String,Object> map);
|
|
|
|
|
|
}
|
|
|