|
|
@@ -94,6 +94,9 @@ public class PatentNewServiceImpl extends BaseMybatisDao<PatentNewMapper> imple
|
|
|
|| ! p.getTid().equals(pn.getTid())) {
|
|
|
p.setYears(getyear(p));
|
|
|
p.setPatentAmount(sumAmout(p.getType(),p.getTid(),p.getYears()));
|
|
|
+ if(p.getPatentAmount()==null) {
|
|
|
+ throw new BusinessException(new Error("年份超过最大可提醒日期。"));
|
|
|
+ }
|
|
|
p.setStatus(getSatus(p.getEndDate()));
|
|
|
sumYears(p);
|
|
|
}
|