Преглед на файлове

物料库存数量金额表改为通过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" />
         <result column="pw_amount" property="rc_amount" jdbcType="DOUBLE" />
     </resultMap>
     </resultMap>
     <select id="selectReserveCost" resultMap="ProdReserveCostResultMap">
     <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>
         <where>
           <if test="con!=null">
           <if test="con!=null">
               ${con}
               ${con}