LocationMapper.java 651 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;

public interface LocationMapper extends BaseMapper<Location> {

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

    void updateContainerCodeAndStatus(@Param("warehouseCode") String warehouseCode, @Param("locationCode") String locationCode, @Param("containerCode") String containerCode, @Param("status") String status);

    Location position(String locatingRule);
}