| | |
| | | package org.springblade.mdm.program.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.core.mp.mapper.BladeMapper; |
| | | import org.springblade.mdm.program.entity.NcNode; |
| | | import org.springblade.mdm.program.entity.NcProgram; |
| | | import org.springblade.mdm.program.vo.*; |
| | | |
| | | import java.util.List; |
| | |
| | | */ |
| | | NcNode getLastProgramNode(String name); |
| | | |
| | | /** |
| | | * 首页搜索 老的 |
| | | * @param queryVO |
| | | * @return |
| | | */ |
| | | List<NcNodeVO> searchList(NcNodeOldQueryVO queryVO); |
| | | |
| | | /** |
| | | * 首页搜索 |
| | | * @param queryVO |
| | | * @return |
| | | */ |
| | | List<NcNodeVO> searchList2(NcNodeQueryVO queryVO); |
| | | |
| | | List<NcNodeVO> searchListInIds(List<Long> ids); |
| | | |
| | |
| | | * @param name 节点名称 |
| | | * @return |
| | | */ |
| | | List<NcNodeVO> historyByParentIdAndName(@Param("name") String name,@Param("parentNode")NcNode parentNode); |
| | | //List<NcNodeVO> historyByParentIdAndName(@Param("name") String name,@Param("parentNode")NcNode parentNode); |
| | | |
| | | /** |
| | | * 删除子节点,用于删除程序包名节点的子节点 |
| | | * @param nodeId |
| | | */ |
| | | void deleteSubNodes(Long nodeId); |
| | | |
| | | /** |
| | | * 移除某节点下的加工机床节点 |
| | | * @param parentId 系欸但id |
| | | */ |
| | | // void deleteMachineGroupNodeByParentId(Long parentId); |
| | | |
| | | /** |
| | | * 删除非最新版本呢的数据last_edition<>1 |
| | | */ |
| | | void deleteOldEditionNodeData(); |
| | | } |