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