package cn.stylefeng.guns.modular.dq.materialTraceability.service; import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo; import cn.stylefeng.guns.modular.dq.materialTraceability.entity.MaterialTraceability; import cn.stylefeng.guns.modular.dq.materialTraceability.model.params.MaterialTraceabilityParam; import cn.stylefeng.guns.modular.dq.materialTraceability.model.result.MaterialTraceabilityResult; import cn.stylefeng.guns.modular.om.productionOrderBatchInfo.model.params.ProductionOrderBatchInfoParam; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** *

* 物料追溯 服务类 *

* * @author cl * @since 2022-10-29 */ public interface MaterialTraceabilityService extends IService { /** * 新增 * * @author cl * @Date 2022-10-29 */ void add(MaterialTraceabilityParam param); /** * 删除 * * @author cl * @Date 2022-10-29 */ void delete(MaterialTraceabilityParam param); /** * 更新 * * @author cl * @Date 2022-10-29 */ void update(MaterialTraceabilityParam param); /** * 查询单条数据,Specification模式 * * @author cl * @Date 2022-10-29 */ MaterialTraceabilityResult findBySpec(MaterialTraceabilityParam param); /** * 查询列表,Specification模式 * * @author cl * @Date 2022-10-29 */ List findListBySpec(MaterialTraceabilityParam param); /** * 查询分页数据,Specification模式 * * @author cl * @Date 2022-10-29 */ LayuiPageInfo findPageBySpec(MaterialTraceabilityParam param); int barCodeCheck(ProductionOrderBatchInfoParam productionOrderBatchInfoParam); int updateSFC(String sfcCode, String childSfcCode); void lineFeedingAddItem(MaterialTraceabilityParam materialTraceabilityParam); List exportTable(MaterialTraceabilityParam materialTraceabilityParam); }