update sys添加更新节点信息列表接口

master
yinq 4 days ago
parent eeac5de4e8
commit 0f6a2601b1

@ -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;

Loading…
Cancel
Save