update 更新节点信息列表

master
yinq 2 weeks ago
parent 12a148d010
commit 8347ac085a

@ -168,7 +168,9 @@ public class SysPrintTemplateNodeServiceImpl implements ISysPrintTemplateNodeSer
throw new ServiceException(bo.getId() + "节点不存在!"); throw new ServiceException(bo.getId() + "节点不存在!");
} }
if (i == 1){ if (i == 1){
baseMapper.deleteById(nodeVos.get(0).getTemplateNodeId()); for (SysPrintTemplateNodeVo nodeVo : nodeVos) {
baseMapper.deleteById(nodeVo.getTemplateNodeId());
}
} }
i++; i++;
this.insertByBo(bo); this.insertByBo(bo);

Loading…
Cancel
Save