package com.doumee.service.business;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.business.model.DiscountLog;
|
import java.util.List;
|
|
/**
|
* 用户套餐卡使用调整日志表Service定义
|
* @author 江蹄蹄
|
* @date 2025/02/17 09:43
|
*/
|
public interface DiscountLogService {
|
|
/**
|
* 创建
|
*
|
* @param discountLog 实体对象
|
* @return String
|
*/
|
String create(DiscountLog discountLog);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(String id);
|
|
/**
|
* 删除
|
*
|
* @param discountLog 实体对象
|
*/
|
void delete(DiscountLog discountLog);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<String> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param discountLog 实体对象
|
*/
|
void updateById(DiscountLog discountLog);
|
|
/**
|
* 批量主键更新
|
*
|
* @param discountLogs 实体集
|
*/
|
void updateByIdInBatch(List<DiscountLog> discountLogs);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return DiscountLog
|
*/
|
DiscountLog findById(String id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param discountLog 实体对象
|
* @return DiscountLog
|
*/
|
DiscountLog findOne(DiscountLog discountLog);
|
|
/**
|
* 条件查询
|
*
|
* @param discountLog 实体对象
|
* @return List<DiscountLog>
|
*/
|
List<DiscountLog> findList(DiscountLog discountLog);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<DiscountLog>
|
*/
|
PageData<DiscountLog> findPage(PageWrap<DiscountLog> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param discountLog 实体对象
|
* @return long
|
*/
|
long count(DiscountLog discountLog);
|
}
|