@ -83,5 +83,9 @@ public class TestSoBom{
* 备注
*/
private String remark;
private BigDecimal unitCost;
private BigDecimal totalCost;
}
@ -23,7 +23,9 @@
p.um_id,
p.part_desc,
p.spec,
dbo.get_um_name(p.um_id) as umName
dbo.get_um_name(p.um_id) as umName,
tb.unit_cost,
tb.total_cost
from plm_test_so_bom tb
left join part p on tb.site = p.site and tb.component_part_no = p.part_no
<where>