product_price_history表是存放历次计算出来的单位成本,ir_property表是存放最新一次计算出来的单位成本。
从上图可知,成本是2369.91元。
select * from ir_property ip
where value_float = 2369.91
从图二可知,product_id=4334
select * from product_price_history pph
where product_id = 4334
select * from product_product pp
where id = 4334
select * from product_template
where id = 7376