From 0afac42fb2e9d6e5291304dd0044ce3042b45d2b Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 10 十月 2026 15:09:14 +0800
Subject: [PATCH] 短信模块提交
---
smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml
index 3de0c7c..f4d70dc 100644
--- a/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/IvrLibaTemplateTargetoptionMapper.xml
@@ -116,6 +116,23 @@
where id = #{id}
</select>
+ <!--
+ 婊℃剰搴︾粺璁★細涓�娆″彇鍥炲涓棶棰樼殑閫夐」鍒嗗�硷紙鍙彇 scriptid銆乻core锛夈��
+ 绛変环浜庨�愪釜闂鎵ц selectIvrLibaTemplateTargetoptionList(scriptid)锛屼絾鍙彇鐢ㄥ緱鍒扮殑鍒楋紱
+ scriptIds 涓虹┖鏃朵笉鍔� scriptid 杩囨护锛堝搴斿師鏌ヨ scriptid 涓� null 鏃朵涪寮冭鏉′欢鐨勮涓猴級銆�
+ -->
+ <select id="selectIvrLibaTargetoptionScores" resultType="java.util.Map">
+ select scriptid as scriptid, score as score
+ from ivr_liba_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="insertIvrLibaTemplateTargetoption" parameterType="com.smartor.domain.IvrLibaTemplateTargetoption"
useGeneratedKeys="true" keyProperty="id">
insert into ivr_liba_template_targetoption
--
Gitblit v1.9.3