parent
718f345f16
commit
198dcf6db7
|
@ -55,6 +55,7 @@ public class PrepaybillContractPlugin extends AbstractBillPlugIn implements Plug
|
|||
for (DynamicObject entryObj : goodsEntities) {
|
||||
//获取合同签订日期
|
||||
Date signdate = entryObj.getDate("signdate");
|
||||
if(signdate != null){
|
||||
LocalDate localDate = dateToLocalDate(signdate);
|
||||
int signdateYear = localDate.getYear();
|
||||
int currentYear = LocalDate.now().getYear();
|
||||
|
@ -62,6 +63,7 @@ public class PrepaybillContractPlugin extends AbstractBillPlugIn implements Plug
|
|||
isMsg = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isMsg){
|
||||
this.getView().showTipNotification("去年合同不占用本年预算");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue