提交 9cdfdbef 编写于 作者: misaka's avatar misaka

update

上级 7f9f7ad1
......@@ -332,8 +332,8 @@ public class Purchase_orderExService extends Purchase_orderServiceImpl {
ctx.setN_order_id_eq(et.getId());
Map<String,Number> calc = purchaseOrderLineService.searchCalc_order_amount(ctx).getContent().get(0);
et.setAmountTax(NumberUtils.convertNumberToTargetClass(calc.get("price_tax"),BigDecimal.class));
et.setAmountUntaxed(NumberUtils.convertNumberToTargetClass(calc.get("price_tax"),BigDecimal.class));
et.setAmountTotal(NumberUtils.convertNumberToTargetClass(calc.get("price_tax"),BigDecimal.class));
et.setAmountUntaxed(NumberUtils.convertNumberToTargetClass(calc.get("price_subtotal"),BigDecimal.class));
et.setAmountTotal(NumberUtils.convertNumberToTargetClass(calc.get("price_total"),BigDecimal.class));
this.update(et);
return super.calc_amount(et);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册