1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package org.jeecg.modules.dnc.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.dnc.entity.GuideCardBatch;
import org.jeecg.modules.dncFlow.vo.GuideCardBatchFlowTaskVo;
 
/**
 * @Description: nc文件对应数控程序加工确认表
 * @Author: jeecg-boot
 * @Date:   2025-05-27
 * @Version: V1.0
 */
public interface IGuideCardBatchService extends IService<GuideCardBatch> {
 
    /**
     * 生成流水号
     * @param code
     * @return
     */
    String getSerialNumber(String code);
 
    /**
     * 导入NC文件默认产生nc文件对应数控程序加工确认表
     * @param docId
     * @return
     */
    boolean importGuideCardBatch(String docId,String attributionId,Integer attributionType);
 
    /**
     * 发起确认流程
     * @param id
     * @return
     */
    Result<?> startGuideCardBatch(String id);
 
    /**
     * 流程节点审核
     * @param guideCardBatchFlowTaskVo
     * @return
     */
    Result<?> auditGuideCardBatch(GuideCardBatchFlowTaskVo guideCardBatchFlowTaskVo);
}