/* * Copyright (c) 2018-2025, ztt All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the pig4cloud.com developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: ztt */ package com.chinaztt.mes.plan.service; import com.baomidou.mybatisplus.extension.service.IService; import com.chinaztt.mes.plan.entity.ManufacturingOrderMatIssue; import com.chinaztt.ztt.common.core.util.R; import java.util.List; /** * 车间订单发料表 * * @author xucg * @date 2022-5-28 14:26:01 */ public interface ManufacturingOrderMatIssueService extends IService { /** * 不分页查询 * * @param manufacturingOrderMatIssue * @return */ List list(ManufacturingOrderMatIssue manufacturingOrderMatIssue); /** * 车间订单发料 * * @param manufacturingOrderMatIssues 发料数据 * @param moId 车间订单id * @return */ R addMatIssue(List manufacturingOrderMatIssues, Long moId); /** * 车间订单取消发料 * * @param ids 车间订单发料明细list * @return */ R delMatUnIssue(List ids); /** * 根据零件号从库存查询发料数量 * * @param moId 车间订单id * @return */ R getMatIssueFromStock(Long moId, String wdrNo, String lotBatchNo); /** * 根据零件号从库存查询发料数量 * * @param moId 车间订单id * @return */ R getMatIssueFromIfs(Long moId); /** * 根据车间订单id,找到发料明细 * @param moId 车间订单id * @return */ List getMatIssueList(Long moId); }