hsy
5 天以前 0da8464afe907ed91ab03eebc7613666353bd7e5
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/feedback/MesProFeedbackService.java
@@ -12,7 +12,7 @@
/**
 * MES 生产报工 Service 接口
 *
 * @author 芋道源码
 * @author 超级管理员
 */
public interface MesProFeedbackService {
@@ -81,9 +81,9 @@
    /**
     * 提交报工(草稿 → 审批中)
     *
     * @param id 编号
     * @param reqVO 提交请求
     */
    void submitFeedback(Long id);
    void submitFeedback(@Valid MesProFeedbackSubmitReqVO reqVO);
    /**
     * 驳回报工(审批中 → 草稿)
@@ -108,10 +108,26 @@
     *   </li>
     * </ol>
     *
     * @param id 报工单编号
     * @param reqVO 审批请求(含报工单编号及可选批次属性)
     * @return true=已完成, false=待检验(需等质检回调)
     */
    boolean approveFeedback(Long id);
    boolean approveFeedback(@Valid MesProFeedbackApproveReqVO reqVO);
    /**
     * 检查报工审批前是否需要填写批次属性
     *
     * @param feedbackId 报工单编号
     * @return 批次需求检查结果
     */
    MesProFeedbackBatchCheckRespVO checkBatchRequirements(Long feedbackId);
    /**
     * 处理 BPM 审批结果
     *
     * @param id 报工单ID
     * @param bpmResult 审批结果状态
     */
    void handleBpmProcessResult(Long id, Integer bpmResult,String reason);
    /**
     * IPQC 完成后回调:完成报工单并更新任务/工单进度