Browse Source

查询关联物料

guq 7 years ago
parent
commit
489b0f74fe

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

@@ -57,6 +57,7 @@
 
     <select id="selectPurchaseListByCondition"  resultMap="BaseResultMap">
         select  *  from purchase left join purchasedetail on pu_id=pd_puid
+        left join product on pd_prodcode=pr_code
         <where>
             <if test="con != null">
                  ${con}