fix:
贷记单提交计算扣减后金额
This commit is contained in:
parent
32db098136
commit
4ea8b15ca7
@ -155,10 +155,10 @@ public class DebCredNewSubmitOp extends AbstractOperationServicePlugIn {
|
||||
if (yemCurrency != null) {
|
||||
String numbers = yemCurrency.getString("number");
|
||||
if ("CNY".equals(numbers)) {
|
||||
temp.set("yem_koujianusd", bigDecimal);
|
||||
// temp.set("yem_koujianusd", bigDecimal);
|
||||
temp.set("yem_koujiancny", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
} else if ("USD".equals(numbers)) {
|
||||
temp.set("yem_koujianusd", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
// temp.set("yem_koujianusd", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
temp.set("yem_koujiancny", bigDecimal);
|
||||
}
|
||||
}
|
||||
@ -169,10 +169,10 @@ public class DebCredNewSubmitOp extends AbstractOperationServicePlugIn {
|
||||
String numbers = yemCurrency.getString("number");
|
||||
if ("CNY".equals(numbers)) {
|
||||
temp.set("yem_koujianusd", bigDecimal);
|
||||
temp.set("yem_koujiancny", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
// temp.set("yem_koujiancny", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
} else if ("USD".equals(numbers)) {
|
||||
temp.set("yem_koujianusd", bigDecimal.add(yemAmount.subtract(yemAmountSub)));
|
||||
temp.set("yem_koujiancny", bigDecimal);
|
||||
// temp.set("yem_koujiancny", bigDecimal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user