This commit is contained in:
parent
17910bd224
commit
2c2cc64595
1 changed files with 3 additions and 1 deletions
|
|
@ -66,7 +66,9 @@ public class AssetTBFProcessing {
|
|||
*/
|
||||
public void process(Registry am_b, Registry am_t, Registry am_f, BigDecimal sum) {
|
||||
boolean am_bExists = am_b != null;
|
||||
am_b = new Registry();
|
||||
if (!am_bExists) {
|
||||
am_b = new Registry();
|
||||
}
|
||||
safeWrapField(am_t::getBalance, am_t::setBalance);
|
||||
safeWrapField(am_b::getBalance, am_b::setBalance);
|
||||
safeWrapField(am_f::getBalance, am_f::setBalance);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue