瀏覽代碼

物料库存数量金额表改为通过id关联

chenw 7 年之前
父節點
當前提交
9e73322865
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      applications/document/document-server/src/main/resources/mapper/ProductMapper.xml

+ 1 - 1
applications/document/document-server/src/main/resources/mapper/ProductMapper.xml

@@ -445,7 +445,7 @@
         <result column="pw_amount" property="rc_amount" jdbcType="DOUBLE" />
     </resultMap>
     <select id="selectReserveCost" resultMap="ProdReserveCostResultMap">
-        select * from productWH tab left join Product on pw_prodcode=pr_code left join warehouse on pw_whcode=wh_code
+        select * from productWH tab left join Product on pw_prodid=pr_id left join warehouse on pw_whid=wh_id
         <where>
           <if test="con!=null">
               ${con}