package com.yuanchu.mom.mapper;
|
|
import com.yuanchu.mom.pojo.Technology;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* Mapper 接口
|
* </p>
|
*
|
* @author 江苏鵷雏网络科技有限公司
|
* @since 2023-07-31
|
*/
|
public interface TechnologyMapper extends BaseMapper<Technology> {
|
|
//根据型号id查询版本
|
List<Integer> selectVerByTec(Integer specificationsId);
|
|
//右侧数据展示-->工艺路线
|
List<Map<String, Object>> selectAllTec(Integer specificationsId, Integer version,String message);
|
|
//右上角新增-->工艺路线-->选择工序
|
List<Map<String, Object>> chooseFather(Integer specificationsId,Integer version);
|
|
//右上角新增-->技术指标 物料清单 生产工艺-->选择工序,工艺
|
List<Map<String, Object>> chooseTech(Integer specificationsId,Integer version);
|
|
//批量删除
|
void delAllTech(String ids);
|
|
//查询该型号工艺下最新版本的工艺id
|
Integer selTech(String techfather, String techname, Integer version, Integer specificationId);
|
|
//查询该型号下版本下的所有数据
|
List<Technology> selAllByVerSpId(Integer spId, Integer ver);
|
}
|