ContainerMapper.java
1.05 KB
package com.huaheng.pc.config.container.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaheng.pc.config.container.domain.Container;
import com.huaheng.pc.config.location.domain.Location;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ContainerMapper extends BaseMapper<Container> {
List<Location> getEmptyContainerInLocation(@Param("containerCode") String containerCode, @Param("locationCode") String locationCode, @Param("warehouseCode") String warehouseCode);
void updateLocationCodeAndStatus(@Param("warehouseCode") String warehouseCode, @Param("containerCode") String containerCode, @Param("locationCode") String locationCode, @Param("status") String status);
Container findAllByCode(@Param("code") String code, @Param("warehouseCode") String warehouseCode);
int addList(@Param("containers") List<Container> containers);
//获得空货架编号
List<Container> selectListShelf();
/**
* 获取空容器
* @return
*/
Container emptyContainer();
}