优化文件搜索

This commit is contained in:
2025-12-03 17:39:50 +08:00
parent efaa8be512
commit c26210d492
7 changed files with 54 additions and 16 deletions

View File

@@ -764,6 +764,7 @@ public class NodeServiceImpl extends ServiceImpl<SimulationNodeMapper, Simulatio
List<SimulationNode> nodeList = this.lambdaQuery()
.eq(ObjectUtils.isNotEmpty(nodeId), SimulationNode::getId, nodeId)
.eq(ObjectUtils.isNotEmpty(nodeType), SimulationNode::getNodeType, nodeType)
.orderByDesc(SimulationNode::getCreateTime)
.list();
if (CollectionUtils.isEmpty(nodeList)) {
return SdmResponse.failed("未找到节点");