package org.jeecg.modules.base.mapper;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import org.apache.ibatis.annotations.Param;
|
import org.jeecg.modules.base.entity.ProductionLineWarehouse;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.jeecg.modules.base.entity.Warehouse;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @Description: 线边库管理
|
* @Author: jeecg-boot
|
* @Date: 2023-01-28
|
* @Version: V1.0
|
*/
|
public interface ProductionLineWarehouseMapper extends BaseMapper<ProductionLineWarehouse> {
|
/**
|
* 获取版本仓库列表
|
* @param page
|
* @param workshopId
|
* @param version
|
* @return
|
*/
|
List<Map<String,Object>> getWarehouseList(Page<Map<String,Object>> page,
|
@Param("version") Integer version,
|
@Param("workshopId") String workshopId
|
);
|
/**
|
* 获取所有版本号
|
* @param
|
*
|
* @return
|
*/
|
List<Integer> getAllVersion();
|
/**
|
* 获取最后一次生效列表
|
* @return
|
*/
|
List<ProductionLineWarehouse> getLastUsableList();
|
/**
|
* 获取当前生效列表
|
* @return
|
*/
|
List<ProductionLineWarehouse> getUsableList();
|
/**
|
* 获取版本状态根据版本号
|
* @param veison
|
* @return
|
*/
|
List<String> getVersionStatusByVersion(Integer veison);
|
}
|