From 5972c5e0070c00d65eb9d08b4c49357dbf3808c4 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期四, 07 四月 2022 16:55:51 +0800
Subject: [PATCH] .

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

diff --git a/src/main/resources/mapper/ReceiveDetlMapper.xml b/src/main/resources/mapper/ReceiveDetlMapper.xml
index 6f34ef8..1c5bd6a 100644
--- a/src/main/resources/mapper/ReceiveDetlMapper.xml
+++ b/src/main/resources/mapper/ReceiveDetlMapper.xml
@@ -29,15 +29,14 @@
         <result column="memo" property="memo" />
 
     </resultMap>
-
-    <select id="selectByOrderNo" resultMap="BaseResultMap">
+    <select id="selectByOrderNo" resultType="zy.cloud.wms.manager.entity.ReceiveDetl">
         select
-        mod.*
+            mod.*
         from man_receive_detl mod
-        left join man_receive mo on mo.id = mod.order_id
+                 left join man_order mo on mo.id = mod.order_id
         where 1=1
-        and mo.order_no = #{orderNo}
-        and mo.host_id = #{hostId}
+          and mo.order_no = #{orderNo}
+          and mo.host_id = #{hostId}
     </select>
 
 </mapper>

--
Gitblit v1.9.1