From d6811336d546e4963a9af3bd7cd8654d14193bce Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期四, 31 八月 2023 11:58:57 +0800
Subject: [PATCH] broker 卡车公司端  49码头

---
 src/main/java/com/stylefeng/guns/modular/system/dao/mapping/WarehouseMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/WarehouseMapper.xml b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/WarehouseMapper.xml
index 846ffb9..a8e48d5 100644
--- a/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/WarehouseMapper.xml
+++ b/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/WarehouseMapper.xml
@@ -10,6 +10,12 @@
         <result column="type" property="type"/>
         <result column="address" property="address"/>
     </resultMap>
+    <select id="getWarehouseFromId" resultType="com.stylefeng.guns.modular.system.model.TWarehouse">
+        select * from t_warehouse where port_id =#{id}
+        <if test="code != null and code !=''">
+            and (code like concat ("%",#{code},"%") or state like concat ("%",#{code},"%") )
+        </if>
+    </select>
 
 
 </mapper>

--
Gitblit v1.7.1