From 0da03950e4e26ed5e8a16d1a6e0d352734519846 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期一, 13 十月 2025 18:25:13 +0800
Subject: [PATCH] 新增最新证书功能
---
src/main/resources/mapper/LocMastMapper.xml | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index 1750d38..fee4223 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -38,6 +38,7 @@
<result column="fire_status" property="fireStatus" />
<result column="pack_status" property="packStatus" />
<result column="channel" property="channel" />
+ <result column="freeze" property="freeze" />
</resultMap>
@@ -46,9 +47,14 @@
from asr_loc_mast
where row1=#{row}
and loc_sts='O'
- <if test="locType1 != null">
- and loc_type1 = #{locType1}
- </if>
+ <choose>
+ <when test="locType1 != null">
+ and loc_type1 = #{locType1}
+ </when>
+ <otherwise>
+ and 1!=1
+ </otherwise>
+ </choose>
order by lev1 asc,bay1 asc
</select>
--
Gitblit v1.9.1