package com.doumee.service.business;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.business.dto.PayOrderNotifyParam;
|
import com.doumee.dao.business.dto.PayOrderParam;
|
import com.doumee.dao.business.dto.PayOrderResponse;
|
import com.doumee.dao.business.model.Orders;
|
|
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletResponse;
|
import java.io.IOException;
|
import java.util.List;
|
|
/**
|
* 订单记录表信息表Service定义
|
* @author doumee
|
* @date 2026-02-02 11:10:42
|
*/
|
public interface OrdersService {
|
|
/**
|
* 创建
|
*
|
* @param model 实体对象
|
* @return Integer
|
*/
|
Integer create(Orders model);
|
PayOrderResponse createPay(Orders model);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param model 实体对象
|
*/
|
void delete(Orders model);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param model 实体对象
|
*/
|
void updateById(Orders model);
|
|
/**
|
* 批量主键更新
|
*
|
* @param model 实体集
|
*/
|
void updateByIdInBatch(List<Orders> model);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return model
|
*/
|
Orders findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param model 实体对象
|
* @return Orders
|
*/
|
Orders findOne(Orders model);
|
|
/**
|
* 条件查询
|
*
|
* @param model 实体对象
|
* @return List<Orders>
|
*/
|
List<Orders> findList(Orders model);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<Orders>
|
*/
|
PageData<Orders> findPage(PageWrap<Orders> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param model 实体对象
|
* @return long
|
*/
|
long count(Orders model);
|
|
void dealOrdreResult(String request, HttpServletResponse response) throws IOException;
|
|
void returnPage(PayOrderParam param, HttpServletResponse response) throws IOException;
|
|
void autoCancelNoPay();
|
}
|