From 33e1839c6214ad72cc5a76ae254ce0bb542e9263 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 10 十月 2026 09:31:11 +0800
Subject: [PATCH] 提交

---
 smartor/src/main/java/com/smartor/mapper/SvyLibTemplateTargetoptionMapper.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/mapper/SvyLibTemplateTargetoptionMapper.java b/smartor/src/main/java/com/smartor/mapper/SvyLibTemplateTargetoptionMapper.java
index 375870f..1ba5082 100644
--- a/smartor/src/main/java/com/smartor/mapper/SvyLibTemplateTargetoptionMapper.java
+++ b/smartor/src/main/java/com/smartor/mapper/SvyLibTemplateTargetoptionMapper.java
@@ -2,8 +2,10 @@
 
 import com.smartor.domain.SvyLibTemplateTargetoption;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
+import java.util.Map;
 
 /**
  * 闂嵎闂鎸囨爣閫夐」搴揗apper鎺ュ彛
@@ -28,6 +30,17 @@
      * @return 闂嵎闂鎸囨爣閫夐」搴撻泦鍚�
      */
     public List<SvyLibTemplateTargetoption> selectSvyLibTemplateTargetoptionList(SvyLibTemplateTargetoption svyLibTemplateTargetoption);
+
+    /**
+     * 婊℃剰搴︾粺璁★細涓�娆″彇鍥炲涓棶棰樼殑閫夐」鍒嗗�硷紙鍙彇 scriptid銆乻core 涓ゅ垪锛�
+     * <p>
+     * 鍘熷疄鐜版槸姣忎釜闂鏌ヤ竴娆℃暣琛岋紝鑰岃皟鐢ㄦ柟鍙敤鍒� score 绠楁渶楂�/鏈�浣庡垎銆�
+     * scriptIds 浼犵┖鏃惰〃绀轰笉鍔� scriptid 杩囨护锛堢瓑浠蜂簬鍘熸煡璇㈠湪 scriptid 涓� null 鏃朵笉鎷艰鏉′欢锛夈��
+     *
+     * @param scriptIds 闂id闆嗗悎锛堝搴� svy_lib_template_script.id锛夛紝鍙负绌�
+     * @return 姣忚鍚� scriptid銆乻core
+     */
+    public List<Map<String, Object>> selectSvyLibTargetoptionScores(@Param("scriptIds") List<Long> scriptIds);
 
     /**
      * 鏂板闂嵎闂鎸囨爣閫夐」搴�
@@ -60,4 +73,13 @@
      * @return 缁撴灉
      */
     public int deleteSvyLibTemplateTargetoptionByIds(Long[] ids);
+
+    /**
+     * 鏍规嵁璇濇湳ID鍒楄〃鍜屾満鏋処D鎵归噺鏌ヨ閫夐」
+     *
+     * @param scriptIds 璇濇湳ID鍒楄〃
+     * @param orgid     鏈烘瀯ID
+     * @return 閫夐」闆嗗悎
+     */
+    public List<SvyLibTemplateTargetoption> selectByScriptIds(@Param("scriptIds") List<Long> scriptIds, @Param("orgid") String orgid);
 }

--
Gitblit v1.9.3