New file |
| | |
| | | package com.stylefeng.guns.modular.system.dao; |
| | | |
| | | import com.stylefeng.guns.modular.system.controller.resp.TOrderResp; |
| | | import com.stylefeng.guns.modular.system.model.TCancelOrder; |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 订单取消记录 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author stylefeng |
| | | * @since 2023-02-27 |
| | | */ |
| | | @Mapper |
| | | public interface TCancelOrderMapper extends BaseMapper<TCancelOrder> { |
| | | |
| | | /** |
| | | * 查询取消订单列表 |
| | | * @param startTime |
| | | * @param endTime |
| | | * @param code |
| | | * @param source |
| | | * @param userName |
| | | * @param userPhone |
| | | * @param state |
| | | * @param driverName |
| | | * @return |
| | | */ |
| | | List<TOrderResp> getCancelOrderList(@Param("startTime") String startTime, @Param("endTime")String endTime, @Param("code") String code, |
| | | @Param("source") Integer source, @Param("userName")String userName, @Param("userPhone")String userPhone, |
| | | @Param("state")Integer state, @Param("driverName")String driverName,@Param("roleType")Integer roleType, |
| | | @Param("objectId")Integer objectId); |
| | | |
| | | /** |
| | | * 订单异常详情页面的取消记录列表 |
| | | * @param userId |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | List<TOrderResp> userCancelOrderList(@Param("userId") Integer userId,@Param("orderId") Integer orderId); |
| | | } |