package com.yuanchu.mom.service;
|
|
import com.yuanchu.mom.pojo.Technology;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.yuanchu.mom.pojo.dto.TechnologyDto;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-07-31
|
*/
|
public interface TechnologyService extends IService<Technology> {
|
|
/**
|
* 根据型号id查询版本
|
* @return
|
*/
|
List<Integer> selectVerByTec(Integer specificationsId);
|
|
/**
|
* 右侧数据展示-->工艺路线
|
* @param specificationsId 型号id
|
* @param version 版本
|
* @return
|
*/
|
List<Map<String,Object>> selectAllTec(Integer specificationsId, Integer version,String message);
|
|
/**
|
* 右上角新增-->工艺路线-->选择设备组
|
* @return
|
*/
|
List<Map<String, Object>> chooseDevice();
|
|
/**
|
* 右上角新增-->工艺路线-->选择工序
|
* @return
|
*/
|
List<Map<String,Object>> chooseFather(Integer specificationsId);
|
|
/**
|
* 右上角新增-->工艺路线
|
* @param technologyDto
|
*/
|
void addTechnology(TechnologyDto technologyDto);
|
|
/**
|
* 填写生产定额,鼠标移开保存
|
* @param id
|
* @param productionQuota
|
* @return
|
*/
|
Integer write(Integer id, Integer productionQuota);
|
|
/**
|
* 删除
|
* @param id
|
*/
|
void delTechById(Integer id);
|
|
/**
|
* 批量删除
|
* @param ids
|
*/
|
void delAllTech(String ids);
|
|
/**
|
* 选择设备组,鼠标移开保存
|
* @param id
|
* @param deviceGroup
|
* @return
|
*/
|
Integer writeDevice(Integer id, String deviceGroup);
|
|
}
|