From 30fc3da6e5895ef3eae52dedd76ea4f2708d5596 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Sat, 09 Nov 2024 14:40:28 +0800
Subject: [PATCH] 新增应急仓库位置查询返回
---
src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml b/src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml
index ad5276f..cf61f72 100644
--- a/src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml
+++ b/src/main/java/org/springblade/modules/yw/mapper/EmergencySuppliesMapper.xml
@@ -24,7 +24,7 @@
select
yes.*,
yfi.name as firmName,
- ys.per_in_cha as personInCha,ys.per_in_cha_pho as personInChaPhone,
+ ys.per_in_cha as personInCha,ys.per_in_cha_pho as personInChaPhone,ys.address supAdd,
bdb.dict_value as emeSupType,
concat(yes.num,bdb1.dict_value) as numUnit
from
@@ -37,8 +37,8 @@
<if test="emergencySupplies.name!=null and emergencySupplies.name!=''">
and yes.name like concat('%',#{emergencySupplies.name},'%')
</if>
- <if test="emergencySupplies.id!=null">
- and yes.firm_id = #{emergencySupplies.id}
+ <if test="emergencySupplies.firmId!=null">
+ and yes.firm_id = #{emergencySupplies.firmId}
</if>
<if test="emergencySupplies.type!=null">
and yes.type = #{emergencySupplies.type}
--
Gitblit v1.9.3