|
@@ -2323,7 +2323,7 @@ public class LedgerManagementServiceImpl implements LedgerManagementService {
|
|
newPrincipalList.add(factoring);
|
|
newPrincipalList.add(factoring);
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- if (p.getPlanDate().compareTo(ledgerDate) == 0) {
|
|
|
|
|
|
+ if (DateUtil.isSameDay(p.getPlanDate(), ledgerDate)) {
|
|
PaymentCollectionPlanFactoring factoring = new PaymentCollectionPlanFactoring();
|
|
PaymentCollectionPlanFactoring factoring = new PaymentCollectionPlanFactoring();
|
|
factoring.setPlanDate(p.getPlanDate());
|
|
factoring.setPlanDate(p.getPlanDate());
|
|
factoring.setAmount(p.getAmount());
|
|
factoring.setAmount(p.getAmount());
|