From cc479e6a056785103996cc7ea67dbd5faa3e800e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 19 十月 2026 18:07:22 +0800
Subject: [PATCH] 数据采集模块
---
smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
index ecab3cc..4ac9912 100644
--- a/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
+++ b/smartor/src/main/resources/mapper/smartor/PatMedInspectionMapper.xml
@@ -98,7 +98,7 @@
<select id="selectPatMedInspectionList" parameterType="com.smartor.domain.PatMedInspection"
resultMap="PatMedInspectionResult">
<include refid="selectPatMedInspectionVo"/>
- <where>
+ where 1=1
<if test="projecttype != null">and projecttype = #{projecttype}</if>
<if test="inhospno != null">and inhospno = #{inhospno}</if>
<if test="patidHis != null">and patid_his = #{patidHis}</if>
@@ -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>
@@ -140,7 +143,6 @@
<if test="pguid != null">and pguid = #{pguid}</if>
<if test="guid != null">and guid = #{guid}</if>
<if test="pid != null">and pid = #{pid}</if>
- </where>
-- order by update_time desc
</select>
--
Gitblit v1.9.3