From aa360de4381100150d34a469ecc087a78cf1720e Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期三, 03 十二月 2025 16:44:10 +0800
Subject: [PATCH] #1
---
src/main/resources/mapper/LocMastMapper.xml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index da60f3c..1b36b39 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -121,10 +121,10 @@
</select>
<select id="queryLocToOne" resultMap="BaseResultMap">
- select top 1 loc_no as locNo,crn_no as crnNo from asr_loc_mast
- where loc_status = 'O' and row1 in (1,2)
+ select top 1 * from asr_loc_mast
+ where loc_sts = 'O' and row1 in (1,2)
<if test="locType2 == 4">
- and lev1 = 1
+ and lev1 in(1)
</if>
<if test="locType2 == 5">
and lev1 in(2,3)
@@ -136,8 +136,8 @@
</select>
<select id="queryLocToTwo" resultMap="BaseResultMap">
- select top 1 loc_no as locNo,crn_no as crnNo from asr_loc_mast
- where loc_status = 'O' and row1 in (3,4)
+ select top 1 * from asr_loc_mast
+ where loc_sts = 'O' and row1 in (3,4)
<if test="locType2 == 7">
and lev1 in(1,2)
</if>
--
Gitblit v1.9.1