|
|
@@ -108,11 +108,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="aiTransferData != null and aiTransferData != ''">ai_transfer_data,</if>
|
|
|
<if test="autoStop != null ">auto_stop,</if>
|
|
|
<if test="ivrId != null and ivrId != ''">ivr_id,</if>
|
|
|
- asr_language_code,
|
|
|
- tts_language_code,
|
|
|
- asr_models,
|
|
|
- tts_models,
|
|
|
-
|
|
|
+ <if test="asrLanguageCode != null and asrLanguageCode != ''">asr_language_code,</if>
|
|
|
+ <if test="ttsLanguageCode != null and ttsLanguageCode != ''">tts_language_code,</if>
|
|
|
+ <if test="asrModels != null and asrModels != ''">asr_models,</if>
|
|
|
+ <if test="ttsModels != null and ttsModels != ''">tts_models,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="groupId != null and groupId != ''">#{groupId},</if>
|
|
|
@@ -139,10 +138,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="aiTransferData != null and aiTransferData != ''">#{aiTransferData},</if>
|
|
|
<if test="autoStop != null ">#{autoStop},</if>
|
|
|
<if test="ivrId != null and ivrId != ''">#{ivrId},</if>
|
|
|
- #{asrLanguageCode},
|
|
|
- #{ttsLanguageCode},
|
|
|
- #{asrModels},
|
|
|
- #{ttsModels},
|
|
|
+ <if test="asrLanguageCode != null and asrLanguageCode != ''">asr_language_code = #{asrLanguageCode},</if>
|
|
|
+ <if test="ttsLanguageCode != null and ttsLanguageCode != ''">tts_language_code = #{ttsLanguageCode},</if>
|
|
|
+ <if test="asrModels != null and asrModels != ''">asr_models = #{asrModels},</if>
|
|
|
+ <if test="ttsModels != null and ttsModels != ''">tts_models = #{ttsModels},</if>
|
|
|
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -174,11 +173,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="aiTransferData != null and aiTransferData != ''">ai_transfer_data = #{aiTransferData},</if>
|
|
|
<if test="autoStop != null ">auto_stop = #{autoStop},</if>
|
|
|
<if test="ivrId != null and ivrId != ''">ivr_id = #{ivrId},</if>
|
|
|
- asr_language_code = #{asrLanguageCode},
|
|
|
- tts_language_code = #{ttsLanguageCode},
|
|
|
- asr_models = #{asrModels},
|
|
|
- tts_models = #{ttsModels},
|
|
|
-
|
|
|
+ <if test="asrLanguageCode != null and asrLanguageCode != ''">asr_language_code = #{asrLanguageCode},</if>
|
|
|
+ <if test="ttsLanguageCode != null and ttsLanguageCode != ''">tts_language_code = #{ttsLanguageCode},</if>
|
|
|
+ <if test="asrModels != null and asrModels != ''">asr_models = #{asrModels},</if>
|
|
|
+ <if test="ttsModels != null and ttsModels != ''">tts_models = #{ttsModels},</if>
|
|
|
</trim>
|
|
|
where batch_id = #{batchId}
|
|
|
</update>
|