[update] Prompt模版查询优化 --1.1
This commit is contained in:
parent
a7353b90ae
commit
d1d3214059
@ -164,7 +164,7 @@ public class PromptTemplatesBackupServiceImpl implements PromptTemplatesBackupSe
|
||||
List<PromptTemplatesTagsBackupDO> tagDOList = this.promptTemplatesTagsBackupMapper
|
||||
.selectList("prompt_template_id", id);
|
||||
|
||||
Map<Long, String> labelMap = labelService.getLabelMap(false);
|
||||
Map<Long, String> labelMap = labelService.getLabelMap(true);
|
||||
|
||||
if (CollectionUtils.isNotEmpty(tagDOList)) {
|
||||
// 过滤 tagDOList 在 labelMap 中不存在的 tagIds,只保留存在的
|
||||
|
Loading…
x
Reference in New Issue
Block a user