From 0bbbd746e8c39d91ad7b47a4e36e29ab972dc98c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 20 十月 2026 16:56:54 +0800
Subject: [PATCH] 处理长期任务发送问题

---
 ruoyi-template/src/main/resources/mapper/template/SvyTaskScriptMapper.xml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ruoyi-template/src/main/resources/mapper/template/SvyTaskScriptMapper.xml b/ruoyi-template/src/main/resources/mapper/template/SvyTaskScriptMapper.xml
index 14f883d..d431ddb 100644
--- a/ruoyi-template/src/main/resources/mapper/template/SvyTaskScriptMapper.xml
+++ b/ruoyi-template/src/main/resources/mapper/template/SvyTaskScriptMapper.xml
@@ -61,7 +61,10 @@
             <if test="scoretype != null  and scoretype != ''"> and scoretype = #{scoretype}</if>
             <if test="score != null  and score != ''"> and score = #{score}</if>
             <if test="showtype != null  and showtype != ''"> and showtype = #{showtype}</if>
-            <if test="picturePath != null  and picturePath != ''"> and picture_path = #{picturePath}</if>
+            <!-- 鍘熶负 `and picture_path = #{picturePath}`锛歴vy_task_script 娌℃湁 picture_path 鍒�
+                 锛堟湰鏂囦欢 resultMap / select 鍒楁竻鍗曢噷鍙湁 script_picture锛夛紝瀹炰綋涔熸病鏈�
+                 picturePath 灞炴�� 鈥斺�� 涓ゅ閮戒笉瀛樺湪锛岃繖鏉℃潯浠朵粠鏉ヤ笉鍙兘鐢熸晥銆�
+                 鎸�"鍙鐪熷疄鍒�"鍒犳帀锛氬浘鐗囩敱涓嬮潰鐨� scriptPicture / script_picture 璐熻矗銆� -->
     </select>
 
     <select id="selectSvyTaskScriptById" parameterType="Long" resultMap="SvyTaskScriptResult">
@@ -157,7 +160,8 @@
             <if test="scoretype != null">scoretype = #{scoretype},</if>
             <if test="score != null">score = #{score},</if>
             <if test="showtype != null">showtype = #{showtype},</if>
-            <if test="picturePath != null">picture_path = #{picturePath},</if>
+            <!-- 鍚屼笂锛歱icture_path 鍒椾笌 picturePath 灞炴�ч兘涓嶅瓨鍦紝鍒犳帀杩欐潯锛堝惁鍒欎竴鏃︽湁浜�
+                 缁欏疄浣撹ˉ涓� picturePath锛孲QL 灏变細鍥� Unknown column 'picture_path' 鎶ラ敊锛夈�� -->
             <if test="scriptPicture != null">script_picture = #{scriptPicture},</if>
         </trim>
         where id = #{id}

--
Gitblit v1.9.3