package com.ruoyi.tms.service;
|
|
import java.util.List;
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.tms.domain.TmsTrip;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
/**
|
* 行程Service接口
|
*
|
* @author ruoyi
|
* @date 2025-11-13
|
*/
|
public interface ITmsTripService extends IService<TmsTrip>
|
{
|
/**
|
* 查询行程
|
*
|
* @param id 行程ID
|
* @return 行程
|
*/
|
public TmsTrip selectTmsTripById(Integer id);
|
|
/**
|
* 查询行程 记录数
|
*
|
* @param tmsTrip 行程
|
* @return 行程集合
|
*/
|
public int selectTmsTripCount(TmsTrip tmsTrip);
|
|
/**
|
* 查询行程列表
|
*
|
* @param tmsTrip 行程
|
* @return 行程集合
|
*/
|
public List<TmsTrip> selectTmsTripList(TmsTrip tmsTrip);
|
public List<TmsTrip> tmsTripList(Integer dispatchId);
|
|
/**
|
* 查询行程列表 异步 导出
|
*
|
* @param tmsTrip 行程
|
* @param exportKey 导出功能的唯一标识
|
* @return 行程集合
|
*/
|
public void export(TmsTrip tmsTrip, String exportKey) ;
|
|
|
/**
|
* 新增行程
|
*
|
* @param tmsTrip 行程
|
* @return 结果
|
*/
|
public int insertTmsTrip(TmsTrip tmsTrip);
|
public AjaxResult submitDropHook(TmsTrip tmsTrip);
|
public AjaxResult submitPickHook(TmsTrip tmsTrip);
|
/**
|
* 新增行程[批量]
|
*
|
* @param tmsTrips 行程
|
* @return 结果
|
*/
|
public int insertTmsTripBatch(List<TmsTrip> tmsTrips);
|
|
/**
|
* 修改行程
|
*
|
* @param tmsTrip 行程
|
* @return 结果
|
*/
|
public int updateTmsTrip(TmsTrip tmsTrip);
|
|
/**
|
* 修改行程[批量]
|
*
|
* @param tmsTrips 行程
|
* @return 结果
|
*/
|
public int updateTmsTripBatch(List<TmsTrip> tmsTrips);
|
/**
|
* 批量删除行程
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteTmsTripByIds(String ids);
|
|
/**
|
* 批量删除行程
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteTmsTripByIds(Integer[] ids);
|
|
/**
|
* 删除行程信息
|
*
|
* @param id 行程ID
|
* @return 结果
|
*/
|
public int deleteTmsTripById(Integer id);
|
}
|