package com.yueqian.xingyun.basedata.service.logistics;

import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.starter.web.core.service.BaseMpService;
import com.yueqian.xingyun.basedata.entity.LogisticsCompany;
import com.yueqian.xingyun.basedata.vo.logistics.company.CreateLogisticsCompanyVo;
import com.yueqian.xingyun.basedata.vo.logistics.company.QueryLogisticsCompanySelectorVo;
import com.yueqian.xingyun.basedata.vo.logistics.company.QueryLogisticsCompanyVo;
import com.yueqian.xingyun.basedata.vo.logistics.company.UpdateLogisticsCompanyVo;
import java.util.List;

public interface LogisticsCompanyService extends BaseMpService<LogisticsCompany> {

  /**
   * 查询列表
   *
   * @return
   */
  PageResult<LogisticsCompany> query(Integer pageIndex, Integer pageSize,
      QueryLogisticsCompanyVo vo);

  /**
   * 查询列表
   *
   * @param vo
   * @return
   */
  List<LogisticsCompany> query(QueryLogisticsCompanyVo vo);

  /**
   * 根据ID查询
   *
   * @param id
   * @return
   */
  LogisticsCompany findById(String id);

  /**
   * 根据ID删除
   *
   * @param id
   */
  void deleteById(String id);

  /**
   * 创建
   *
   * @param vo
   * @return
   */
  String create(CreateLogisticsCompanyVo vo);

  /**
   * 修改
   *
   * @param vo
   */
  void update(UpdateLogisticsCompanyVo vo);

  /**
   * 选择器
   *
   * @return
   */
  PageResult<LogisticsCompany> selector(Integer pageIndex, Integer pageSize,
      QueryLogisticsCompanySelectorVo vo);
}
