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.Cutter;
|
|
public interface ICutterService extends IService<Cutter> {
|
|
/**
|
* 新增刀具信息
|
* @param cutter
|
* @return
|
*/
|
Result<?> add(Cutter cutter);
|
|
/**
|
* 编辑刀具信息
|
* @param cutter
|
* @return
|
*/
|
Result<?> edit(Cutter cutter);
|
|
/**
|
* 删除刀具信息
|
* @param id
|
* @return
|
*/
|
Result<?> delete(String id);
|
|
/**
|
* 获取业务id下的刀具列表
|
* @param cutter
|
* @return
|
*/
|
Result<?> query(Cutter cutter, Integer pageNo, Integer pageSize);
|
|
/**
|
* 从NC文件内容提取刀具信息并保存
|
* @param docId 文档id
|
*/
|
Result<?> extractAndSaveFromContent(String docId,String attributionId,Integer attributionType);
|
|
/**
|
* 发送刀具列表到刀具系统
|
* @param docId
|
*/
|
Result<?> sendToCutterSystem(String docId,String attributionId,Integer attributionType);
|
}
|