ContainerService.java 916 Bytes
package com.huaheng.pc.config.container.service;

import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.config.container.domain.Container;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.config.location.domain.Location;

import java.util.List;

public interface ContainerService extends IService<Container>{

    AjaxResult<List<Container>> insertContainer(String type, Integer quantity);

    String importMaterial(List<Container> containerList, Boolean updateSupport, String operName);

    List<Location> getEmptyContainerInLocation(String containerCode, String locationCode, String warehouseCode);

    void updateLocationCodeAndStatus(String containerCode, String locationCode, String status);

    void removeContainer(String containType, String containCode);

    void removeByCode(String containCode);

    Container findAllByCode(String containCode);
}