LocationMapper.java 967 Bytes
package com.huaheng.pc.config.location.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.location.domain.Location;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;

import java.util.List;

public interface LocationMapper extends BaseMapper<Location> {

    void updateStatus(@Param("warehouseCode") String warehouseCode, @Param("code") String code, @Param("status") String status);

    Location position(String locatingRule);

    int addList(@Param("locations") List<Location> locations);

    int updateList(@Param("locations") List<Location> locations);

    Location getAllLocation(@Param("warehouseCode") String warehouseCode, @Param("type") String type);

    //库位利用率
    List<LinkedHashMap<String, Object>> getLocationProp();

    List<Location> pickLocation();

    List<Location> selectContainerEmpty(@Param("warehouseCode") String warehouseCode );


}