From 60ade5154522a042c816abaa1840751011ae0371 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 29 九月 2026 19:15:03 +0800
Subject: [PATCH] 1.省立同德满度问题处理 2.门急诊数据采集优化

---
 smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
index dba6882..a17e5f2 100644
--- a/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/SvyLibTemplateTargetoptionMapper.xml
@@ -126,6 +126,23 @@
         where id = #{id}
     </select>
 
+    <!--
+        婊℃剰搴︾粺璁★細涓�娆″彇鍥炲涓棶棰樼殑閫夐」鍒嗗�硷紙鍙彇 scriptid銆乻core锛夈��
+        绛変环浜庨�愪釜闂鎵ц selectSvyLibTemplateTargetoptionList(scriptid)锛屼絾鍙彇鐢ㄥ緱鍒扮殑鍒楋紱
+        scriptIds 涓虹┖鏃朵笉鍔� scriptid 杩囨护锛堝搴斿師鏌ヨ scriptid 涓� null 鏃朵涪寮冭鏉′欢鐨勮涓猴級銆�
+    -->
+    <select id="selectSvyLibTargetoptionScores" resultType="java.util.Map">
+        select scriptid as scriptid, score as score
+        from svy_lib_template_targetoption
+        where del_flag = 0
+        <if test="scriptIds != null and scriptIds.size() > 0">
+            and scriptid IN
+            <foreach collection="scriptIds" item="scriptId" open="(" separator="," close=")">
+                #{scriptId}
+            </foreach>
+        </if>
+    </select>
+
     <insert id="insertSvyLibTemplateTargetoption" parameterType="com.smartor.domain.SvyLibTemplateTargetoption"
             useGeneratedKeys="true" keyProperty="id">
         insert into svy_lib_template_targetoption

--
Gitblit v1.9.3