package com.shkj.wms.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shkj.common.core.domain.Result;
import com.shkj.wms.bo.BaseLogicareaVmQueryListBo;
import com.shkj.wms.bo.BaseLogicareaVmSaveOrUpdateBo;
import com.shkj.wms.config.ValidList;
import com.shkj.wms.domain.BaseLogicAreaDerive;
import com.shkj.wms.vo.BaseLogicareaDeriveVo;

/**
 * 逻辑区域与车型关系Service接口
 *
 * @author zjx
 * @date 2023-04-19
 */
public interface IBaseLogicareaVmService extends IService<BaseLogicAreaDerive> {
    /**
     * 保存或者修改库别信息（根据是否有id来判断新增或者修改）
     * @param list
     * @return
     */
    Result<Boolean> saveOrUpdateBaseLogicAreaVm(ValidList<BaseLogicareaVmSaveOrUpdateBo> list);

    /**
     * 查询单个
     *
     * @param id
     * @return
     */
    Result<BaseLogicAreaDerive> queryById(Long id);



    /**
     * 查询逻辑区域车型信息列表
     */
    List<BaseLogicareaDeriveVo> queryBaseLogicAreaVmList(BaseLogicareaVmQueryListBo bo);

}
