parent
718f345f16
commit
198dcf6db7
|
@ -55,11 +55,13 @@ public class PrepaybillContractPlugin extends AbstractBillPlugIn implements Plug
|
||||||
for (DynamicObject entryObj : goodsEntities) {
|
for (DynamicObject entryObj : goodsEntities) {
|
||||||
//获取合同签订日期
|
//获取合同签订日期
|
||||||
Date signdate = entryObj.getDate("signdate");
|
Date signdate = entryObj.getDate("signdate");
|
||||||
LocalDate localDate = dateToLocalDate(signdate);
|
if(signdate != null){
|
||||||
int signdateYear = localDate.getYear();
|
LocalDate localDate = dateToLocalDate(signdate);
|
||||||
int currentYear = LocalDate.now().getYear();
|
int signdateYear = localDate.getYear();
|
||||||
if(signdateYear<currentYear) {
|
int currentYear = LocalDate.now().getYear();
|
||||||
isMsg = true;
|
if(signdateYear<currentYear) {
|
||||||
|
isMsg = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(isMsg){
|
if(isMsg){
|
||||||
|
|
Loading…
Reference in New Issue