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);
|
}
|