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