|
|
@@ -300,6 +300,9 @@ public class PatentNewServiceImpl extends BaseMybatisDao<PatentNewMapper> imple
|
|
|
trb.setYears(getyear(trb));
|
|
|
trb.setStatus(getSatus(trb.getEndDate()));
|
|
|
trb.setPatentAmount(sumAmout(trb.getType(),trb.getTid(),trb.getYears()));
|
|
|
+ if(trb.getPatentAmount()==null) {
|
|
|
+ throw new BusinessException(new Error("表格第"+(rowNum+1)+"行年份超过最大可提醒日期。"));
|
|
|
+ }
|
|
|
list.add(trb);
|
|
|
if (trb.getStatus()!=0) {
|
|
|
Notice n = addNotice(trb);
|