From cc479e6a056785103996cc7ea67dbd5faa3e800e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 19 十月 2026 18:07:22 +0800
Subject: [PATCH] 数据采集模块
---
ruoyi-template/src/main/resources/mapper/template/SvyLibScriptMapper.xml | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ruoyi-template/src/main/resources/mapper/template/SvyLibScriptMapper.xml b/ruoyi-template/src/main/resources/mapper/template/SvyLibScriptMapper.xml
index b7d813a..28d09b0 100644
--- a/ruoyi-template/src/main/resources/mapper/template/SvyLibScriptMapper.xml
+++ b/ruoyi-template/src/main/resources/mapper/template/SvyLibScriptMapper.xml
@@ -138,7 +138,9 @@
<if test="language != null and language!=''">language,</if>
<if test="otherdata != null and otherdata!=''">otherdata,</if>
<if test="valueType != null and valueType!=''">value_type,</if>
- <if test="reply != null and reply!=''">otherdata,</if>
+ <!-- 鍘熶负 `otherdata,`锛氫笌涓婇潰閭f潯閲嶅鍐欏悓涓�涓垪锛坮eply 鐨勫唴瀹逛細鐩栨帀 otherdata锛夛紝
+ 琛ㄩ噷 reply 鏄嫭绔嬪垪锛堣鏈枃浠� resultMap: property="reply" column="reply"锛夈�� -->
+ <if test="reply != null and reply!=''">reply,</if>
<if test="scoretype != null and scoretype!=''">scoretype,</if>
<if test="score != null ">score,</if>
<if test="icd10Name != null and icd10Name!=''">icd10_name,</if>
@@ -173,7 +175,9 @@
<if test="language != null and language!=''">#{language},</if>
<if test="otherdata != null and otherdata!=''">#{otherdata},</if>
<if test="valueType != null and valueType!=''">#{valueType},</if>
- <if test="reply != null and reply!=''">#{therdata},</if>
+ <!-- 鍘熶负 `#{therdata}`锛氬疄浣撲笂娌℃湁 therdata锛堟槸 otherdata 鐨勯敊鎷硷級锛�
+ 杩愯鏈熸姏 ReflectionException銆傚垪涓庡睘鎬ч兘鎸� reply 鍙栥�� -->
+ <if test="reply != null and reply!=''">#{reply},</if>
<if test="scoretype != null and scoretype!=''">#{scoretype},</if>
<if test="score != null ">#{score},</if>
<if test="icd10Name != null and icd10Name!=''">#{icd10Name},</if>
@@ -212,7 +216,10 @@
<if test="language != null and language!=''">language = #{language},</if>
<if test="otherdata != null and otherdata!=''">otherdata = #{otherdata},</if>
<if test="valueType != null and valueType!=''">value_type = #{valueType},</if>
- <if test="reply != null and reply!=''">therdata =#{therdata},</if>
+ <!-- 鍘熶负 `therdata =#{therdata}`锛氬悓涓�鍒� otherdata 宸茶涓婇潰璧嬭繃鍊硷紝
+ MySQL 浼氭姤 "Column 'otherdata' specified twice"锛屼笖灞炴�� therdata 涓嶅瓨鍦ㄣ��
+ 鎸� reply 鍒� + reply 灞炴�т慨姝c�� -->
+ <if test="reply != null and reply!=''">reply = #{reply},</if>
<if test="scoretype != null and scoretype!=''">scoretype = #{scoretype},</if>
<if test="score != null">score = #{score},</if>
<if test="icd10Name != null and icd10Name!=''">icd10_name = #{icd10Name},</if>
--
Gitblit v1.9.3