李林
2023-10-07 658d4927d468c47208fd012d9128b09249c07eff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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);
}