feat:应回款倒计时调整,加负号
This commit is contained in:
parent
0b170c32de
commit
43c219e4b9
@ -38,7 +38,7 @@ public class CsrCreditLineTask extends AbstractTask
|
|||||||
for (DynamicObject object : collection) {
|
for (DynamicObject object : collection) {
|
||||||
Date receivableDate = object.getDate("yem_paydate1");
|
Date receivableDate = object.getDate("yem_paydate1");
|
||||||
if (receivableDate == null) continue;
|
if (receivableDate == null) continue;
|
||||||
object.set("yem_countpayback", CalendarUtils.calcPayBackCount(receivableDate));
|
object.set("yem_countpayback", -CalendarUtils.calcPayBackCount(receivableDate));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SaveServiceHelper.save(csrcreditlines);
|
SaveServiceHelper.save(csrcreditlines);
|
||||||
@ -49,7 +49,7 @@ public class CsrCreditLineTask extends AbstractTask
|
|||||||
for (DynamicObject object : collection) {
|
for (DynamicObject object : collection) {
|
||||||
Date receivableDate = object.getDate("yem_paydate1");
|
Date receivableDate = object.getDate("yem_paydate1");
|
||||||
if (receivableDate == null) continue;
|
if (receivableDate == null) continue;
|
||||||
object.set("yem_countpayback", CalendarUtils.calcPayBackCount(receivableDate));
|
object.set("yem_countpayback", -CalendarUtils.calcPayBackCount(receivableDate));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SaveServiceHelper.save(storagetrans);
|
SaveServiceHelper.save(storagetrans);
|
||||||
|
Loading…
Reference in New Issue
Block a user