“收款入账”和“账单核销”分开处理
This commit is contained in:
+1
-3
@@ -246,10 +246,8 @@ public class ArBalanceWriteoffServiceImpl implements IArBalanceWriteoffService {
|
||||
String receiptType;
|
||||
if (newAllocated.compareTo(BigDecimal.ZERO) == 0) {
|
||||
receiptType = CustomerReceipt.TYPE_PREPAY;
|
||||
} else if (newAllocated.compareTo(base) >= 0) {
|
||||
receiptType = CustomerReceipt.TYPE_REPAY;
|
||||
} else {
|
||||
receiptType = CustomerReceipt.TYPE_MIXED;
|
||||
receiptType = CustomerReceipt.TYPE_REPAY;
|
||||
}
|
||||
|
||||
CustomerReceipt update = new CustomerReceipt();
|
||||
|
||||
Reference in New Issue
Block a user