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/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