if (updatePrompt.length > 0) { await this.multiCategoryPromptInfo.upsert(updatePrompt, ['id']); } ON DUPLICATE KEY UPDATE 插入数据根据唯一主键更新
另一种就是save了