| | |
| | | ncNode.setDescription(vo.getDescription()); |
| | | ncNode.setRemark(vo.getRemark()); |
| | | ncNode.setMachineCode(vo.getMachineCode()); |
| | | ncNode.setParentIds(buildParentIds(vo.getParentId())); |
| | | |
| | | this.updateById(ncNode); |
| | | } |
| | | |
| | |
| | | return baseMapper.lazyList(parentId); |
| | | } |
| | | |
| | | /** |
| | | * 程序节点 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | public IPage<NcNodeProgramVO> programPageQuery(NcNodeProgramQueryVO query) { |
| | | return this.getBaseMapper().programPageQuery(Condition.getPage(query),query); |
| | | } |
| | | |
| | | /** |
| | | * 查询现有固化的程序,暂定条件:零组件号相同,且是同一机床组 |
| | |
| | | public NcNode getLastProgramNode(String name) { |
| | | return this.getBaseMapper().getLastProgramNode(name); |
| | | } |
| | | |
| | | |
| | | } |