Compare commits
No commits in common. "61874f6be2e06a220f26e5316ee899d118aea9fb" and "0333a9698ebb7c71ee29ea586d03a78a1e2f85e3" have entirely different histories.
61874f6be2
...
0333a9698e
|
@ -55,7 +55,6 @@ 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");
|
||||||
if(signdate != null){
|
|
||||||
LocalDate localDate = dateToLocalDate(signdate);
|
LocalDate localDate = dateToLocalDate(signdate);
|
||||||
int signdateYear = localDate.getYear();
|
int signdateYear = localDate.getYear();
|
||||||
int currentYear = LocalDate.now().getYear();
|
int currentYear = LocalDate.now().getYear();
|
||||||
|
@ -63,7 +62,6 @@ public class PrepaybillContractPlugin extends AbstractBillPlugIn implements Plug
|
||||||
isMsg = true;
|
isMsg = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if(isMsg){
|
if(isMsg){
|
||||||
this.getView().showTipNotification("去年合同不占用本年预算");
|
this.getView().showTipNotification("去年合同不占用本年预算");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue