Fancy
2024-09-11 f88c07d7941a0c18bb097f20618c18b9d2418ccc
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
36
37
38
39
40
41
42
package com.dy.pmsGlobal.daoPr;
 
import com.dy.pmsGlobal.pojoPr.PrProductionNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
* @author 小明
* @description 针对表【pr_production_node(生产节点表)】的数据库操作Mapper
* @createDate 2024-05-25 09:22:03
* @Entity com.dy.pmsGlobal.pojoPr.PrProductionNode
*/
@Mapper
public interface PrProductionNodeMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insertSelective(PrProductionNode record);
 
    int insertMany(List<PrProductionNode> nodes);
 
    PrProductionNode selectByPrimaryKey(Long id);
 
    PrProductionNode selectNodeBySort(@Param("processId") Long processId , @Param("sort") Integer sort);
 
    int updateByPrimaryKeySelective(PrProductionNode record);
 
    List<PrProductionNode> selectByProcess(@Param("processId") Long processId);
 
    void deleteByProcessId(Long id);
 
    int deleteByNodeId(List<Long> ids);
 
    /**
     * 节点是结束节点或之后的节点
     * @param currNode
     * @return
     */
    boolean isEndNode(Long currNode);
}