/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 */
package org.springblade.transport.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.transport.excel.LoadingManageExcel;
import org.springblade.transport.pojo.entity.LoadingManage;
import org.springblade.transport.pojo.vo.BusinessRemoveResultVO;
import org.springblade.transport.pojo.vo.LoadingManageVO;

import java.util.List;

/**
 * 配载管理 服务类
 *
 * @author Chill
 */
public interface ILoadingManageService extends BaseService<LoadingManage> {

	IPage<LoadingManageVO> selectLoadingManagePage(IPage<LoadingManage> page, LoadingManageVO loadingManage);

	LoadingManageVO detail(Long id);

	boolean saveDraft(LoadingManage loadingManage);

	boolean submit(LoadingManage loadingManage);

	BusinessRemoveResultVO removeLoadingManage(String ids);

	List<LoadingManageExcel> exportLoadingManage(LoadingManageVO loadingManage, String ids);

	LoadingManageVO copy(Long id);

	boolean reassign(LoadingManage loadingManage);

	boolean cancel(Long id);

	boolean complete(Long id);

	BusinessRemoveResultVO batchComplete(String ids);

}
