|
|
@@ -665,8 +665,6 @@ public class PatentNewServiceImpl extends BaseMybatisDao<PatentNewMapper> imple
|
|
|
@Override
|
|
|
public void pushResetPatentNew(List<String> list) throws InterruptedException {
|
|
|
List<PatentNewLog> logs = new ArrayList<>();
|
|
|
-
|
|
|
-
|
|
|
for (String ids : list) {
|
|
|
PatentNew pn=patentNewMapper.selectByPrimaryKey(Integer.valueOf(ids));
|
|
|
int year=pn.getYears()+1;
|
|
|
@@ -675,9 +673,7 @@ public class PatentNewServiceImpl extends BaseMybatisDao<PatentNewMapper> imple
|
|
|
if (ppd==null) {
|
|
|
sumYears(pn);
|
|
|
ppd=patentPaymentDetailsMapper.selectByPidAndYear(pn.getId(),year);
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
PatentNew n=new PatentNew();
|
|
|
n.setId(pn.getId());
|
|
|
n.setStatus(0);
|