ContainerMapper.java 805 Bytes
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);


}