From ce3fdb298990ae8baef7ca595fe3b17e7929fca3 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 08 十一月 2025 18:54:09 +0800
Subject: [PATCH] 工作主档转历史字段类型不一样数据丢失修复

---
 src/main/resources/mapper/RowLastnoMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/RowLastnoMapper.xml b/src/main/resources/mapper/RowLastnoMapper.xml
index 8dcdf71..386c595 100644
--- a/src/main/resources/mapper/RowLastnoMapper.xml
+++ b/src/main/resources/mapper/RowLastnoMapper.xml
@@ -22,11 +22,15 @@
         <result column="sign_type_other" property="signTypeOther" />
         <result column="sign_type_other_boolean" property="signTypeOtherBoolean" />
         <result column="sta_no_list" property="staNoList" />
+        <result column="type_id" property="typeId" />
+        <result column="be_similar" property="beSimilar" />
+        <result column="point_switch" property="pointSwitch" />
+        <result column="empty_similar" property="emptySimilar" />
 
     </resultMap>
 
     <select id="findBySection" resultMap="BaseResultMap">
-        select * from asr_row_lastno
+        select top 1 * from asr_row_lastno
         where 1=1
         and s_row &lt;= #{row}
         and e_row >= #{row}

--
Gitblit v1.9.1