package com.chinaztt.mes.plan.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.chinaztt.mes.plan.dto.MpsStructureComponentDTO;
|
import com.chinaztt.mes.plan.entity.MpsStructureComponent;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* 制造订单产品结构组件表
|
*
|
* @author cxf
|
* @date 2020-09-30 11:21:51
|
*/
|
@Mapper
|
public interface MpsStructureComponentMapper extends BaseMapper<MpsStructureComponent> {
|
|
/**
|
* 把失效的状态改为生效
|
*
|
* @param id
|
* @return
|
*/
|
int updateActiveById(Long id);
|
|
|
/**
|
* 根据mpsId查询bom结构组件
|
*
|
* @param id
|
* @return
|
*/
|
List<MpsStructureComponentDTO> selectDtoListByMpsId(Long id);
|
}
|