package com.yuanchu.mom.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.yuanchu.mom.pojo.Mbom;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 标准BOM-物料清单表(Mbom)表数据库访问层
|
*
|
* @author zss
|
* @since 2023-08-31 11:58:23
|
*/
|
public interface MbomMapper extends BaseMapper<Mbom> {
|
|
//根据型号id查询所有版本
|
List<Integer> selectVerByMbom(Integer specificationsId);
|
|
//右侧数据展示-->物料清单
|
List<Map<String, Object>> selectAllMbom(Integer specificationsId, Integer version,String message);
|
|
//根据型号id查询该型号下所有工艺需要的物料清单
|
List<Mbom> selAllBySpeId(Integer specificationsId,Integer version);
|
|
//根据工艺路线id删除物料清单
|
void delMbomByTecId(Integer id);
|
|
//根据工艺路线id批量删除
|
void delAllByTecId(String ids);
|
|
//根据物料清单id批量删除
|
void delAllMbom(String ids);
|
}
|