From 2d3b575ed96eee7ccd5b324baa3135d2236934ac Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期五, 13 十一月 2026 16:39:37 +0800
Subject: [PATCH] 【市一】1、登录服务问题处理 2、电话挂断问题处理 3、查询报错问题处理

---
 smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
index 3a660f3..4ac9912 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
@@ -131,7 +131,10 @@
             <if test="partId != null">and part_id = #{partId}</if>
             <if test="partName != null">and part_name = #{partName}</if>
             <if test="typeId != null">and type_id = #{typeId}</if>
-            <if test="typeName != null">and type_name = #{type}</if>
+            <!-- 鍘熶负 `#{type}`锛氬疄浣撲笂鍙湁 typeName锛坱est 閲岀敤鐨勪篃鏄� typeName锛夛紝
+                 `type` 涓嶅瓨鍦� 鈥斺�� 璇ュ垎鏀竴璧板埌灏辨姏
+                 ReflectionException: no getter for 'type'銆� -->
+            <if test="typeName != null">and type_name = #{typeName}</if>
             <if test="filmFlag != null">and film_flag = #{filmFlag}</if>
             <if test="bedFlag != null">and bed_flag = #{bedFlag}</if>
             <if test="pushFlag != null">and push_flag = #{pushFlag}</if>

--
Gitblit v1.9.3