@@ -464,7 +464,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_whid=wh_id
+ 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}
@@ -478,7 +478,7 @@
</select>
<select id="selectReserveCostByIgnoreWarehouse" resultMap="ProdReserveCostResultMap">
select pr_code,pr_spec,pr_detail,pr_unit,sum(pw_onhand) pw_onhand,sum(pw_amount) pw_amount
- from productWH tab left join Product on pw_prodcode=pr_code left join warehouse on pw_whid=wh_id
+ from productWH tab left join Product on pw_prodid=pr_id left join warehouse on pw_whid=wh_id