|
|
|
@ -161,7 +161,7 @@ public class SysPrintTemplateNodeServiceImpl implements ISysPrintTemplateNodeSer
|
|
|
|
if (nodeVos.isEmpty()) {
|
|
|
|
if (nodeVos.isEmpty()) {
|
|
|
|
throw new ServiceException(bo.getId() + "节点不存在!");
|
|
|
|
throw new ServiceException(bo.getId() + "节点不存在!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
baseMapper.deleteById(bo.getTemplateNodeId());
|
|
|
|
baseMapper.deleteById(nodeVos.get(0).getTemplateNodeId());
|
|
|
|
this.insertByBo(bo);
|
|
|
|
this.insertByBo(bo);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
|