package com.oying.modules.rider.service;
|
|
import com.oying.modules.rider.domain.RiderOrderRecord;
|
import com.oying.modules.rider.domain.dto.RiderOrderRecordQueryCriteria;
|
import java.util.List;
|
import java.io.IOException;
|
import javax.servlet.http.HttpServletResponse;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.oying.modules.rider.domain.vo.OrderRiderOperationVo;
|
import com.oying.utils.PageResult;
|
import com.oying.utils.R;
|
import org.springframework.transaction.annotation.Transactional;
|
|
/**
|
* @description 服务接口
|
* @author pxb
|
* @date 2025-07-01
|
**/
|
public interface RiderOrderRecordService extends IService<RiderOrderRecord> {
|
|
/**
|
* 查询数据分页
|
* @param criteria 条件
|
* @param page 分页参数
|
* @return PageResult
|
*/
|
PageResult<RiderOrderRecord> queryAll(RiderOrderRecordQueryCriteria criteria, Page<Object> page);
|
|
/**
|
* 查询所有数据不分页
|
* @param criteria 条件参数
|
* @return List<RiderOrderRecordDto>
|
*/
|
List<RiderOrderRecord> queryAll(RiderOrderRecordQueryCriteria criteria);
|
|
/**
|
* 创建
|
* @param resources /
|
*/
|
void create(RiderOrderRecord resources);
|
|
/**
|
* 编辑
|
* @param resources /
|
*/
|
void update(RiderOrderRecord resources);
|
|
/**
|
* 多选删除
|
* @param ids /
|
*/
|
void deleteAll(List<Long> ids);
|
|
/**
|
* 导出数据
|
* @param all 待导出的数据
|
* @param response /
|
* @throws IOException /
|
*/
|
void download(List<RiderOrderRecord> all, HttpServletResponse response) throws IOException;
|
|
/**
|
* 骑手接单
|
* @param orderNum
|
* @throws IOException /
|
*/
|
R riderGrabOrder(String orderNum);
|
|
/**
|
* 骑手取消接单
|
* @param orderNum
|
* @throws IOException /
|
*/
|
R riderCancelOrder(String orderNum);
|
|
/**
|
* 修改骑手端订单状态
|
* @param orderNum
|
* @throws IOException /
|
*/
|
void updateRiderOrderStatus(String orderNum, String orderStatus);
|
|
/**
|
* 骑手订单状态修改
|
* @param orderRiderOperation
|
* @throws IOException /
|
*/
|
R riderOperationOrder(OrderRiderOperationVo orderRiderOperation);
|
}
|