package com.doumee.service.business;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.business.model.Refund;
|
import java.util.List;
|
|
/**
|
* 订单退款信息表Service定义
|
* @author doumee
|
* @date 2026-02-06 11:35:16
|
*/
|
public interface RefundService {
|
|
/**
|
* 创建
|
*
|
* @param model 实体对象
|
* @return Integer
|
*/
|
Integer create(Refund model);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param model 实体对象
|
*/
|
void delete(Refund model);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param model 实体对象
|
*/
|
void updateById(Refund model);
|
|
/**
|
* 批量主键更新
|
*
|
* @param model 实体集
|
*/
|
void updateByIdInBatch(List<Refund> model);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return model
|
*/
|
Refund findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param model 实体对象
|
* @return Refund
|
*/
|
Refund findOne(Refund model);
|
|
/**
|
* 条件查询
|
*
|
* @param model 实体对象
|
* @return List<Refund>
|
*/
|
List<Refund> findList(Refund model);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<Refund>
|
*/
|
PageData<Refund> findPage(PageWrap<Refund> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param model 实体对象
|
* @return long
|
*/
|
long count(Refund model);
|
|
void updateByPayStatus(Refund orders);
|
}
|