Forráskód Böngészése

首页取数问题修改

guq 7 éve
szülő
commit
674f2f8ace

+ 1 - 1
applications/purchase/purchase-server/src/main/resources/mapper/ProdInOutListMapper.xml

@@ -181,7 +181,7 @@
 
   <select id="selectHomePageList" resultMap="homePageList">
     select  *
-    from prodinout
+    from prodinout left join vendor on pi_vendid=ve_id
     <where>
       <if test="con != null">
         ${con}

+ 1 - 1
applications/sale/sale-server/src/main/resources/mapper/ProdInOutListMapper.xml

@@ -137,7 +137,7 @@
   </select>
 
   <select id="selectHomePageList" resultMap="homePageList">
-    select  *   from prodinout
+    select  *   from prodinout left join customer on pi_custid=cu_id
     <where>
       <if test="con != null">
         ${con}