| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.lsw.entity.LswMaterialInventory; |
| | | import org.jeecg.modules.lsw.vo.LswMaterialInventoryVo; |
| | | import org.jeecg.modules.lsw.vo.MaterialInventoryStatisticsVO; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @Version: V1.0 |
| | | */ |
| | | public interface ILswMaterialInventoryService extends IService<LswMaterialInventory> { |
| | | |
| | | /** |
| | | * 通过主表id查询子表数据 |
| | | * |
| | | * @param mainId 主表id |
| | | * @return List<LswMaterialInventory> |
| | | */ |
| | | public List<LswMaterialInventory> selectByMainId(String mainId); |
| | | /** 通过物料编码和线边库id查询物料库存 */ |
| | | List<LswMaterialInventoryVo> selectLineSideMaterialInventoryByMaterialNumber(List<String> bomMaterialNumberList, String factoryId); |
| | | |
| | | /** |
| | | * 库存统计 |
| | | * @param materialId 物料ID |
| | | * @return |
| | | */ |
| | | List<MaterialInventoryStatisticsVO> statisticsInventory(String materialId); |
| | | } |