Commit f9dfd8cc authored by 廖旭伟's avatar 廖旭伟

修改材料附件转换任务

parent 632f4e93
......@@ -107,13 +107,9 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
update.setUpdateTime(new Date());
matterDatumFileService.update(update);
}
convertIdList.add(datumEntity.getMatterId());
}
}
}
if(convertIdList.size()>0){
//convertIdList.add(datumEntity.getMatterId());
SiteMatterQuery matterQuery = new SiteMatterQuery();
matterQuery.setMatterIdList(convertIdList);
matterQuery.setMatterId(datumEntity.getMatterId());
List<SiteMatterEntity> matterEntities = siteMatterService.find(matterQuery);
for(SiteMatterEntity matterEntity:matterEntities){
SiteMatterEntity updateEntity = new SiteMatterEntity();
......@@ -124,6 +120,20 @@ public class MatterDatumConvertTaskImpl implements ITaskExcuteService {
}
}
}
}
// if(convertIdList.size()>0){
// SiteMatterQuery matterQuery = new SiteMatterQuery();
// matterQuery.setMatterIdList(convertIdList);
// List<SiteMatterEntity> matterEntities = siteMatterService.find(matterQuery);
// for(SiteMatterEntity matterEntity:matterEntities){
// SiteMatterEntity updateEntity = new SiteMatterEntity();
// updateEntity.setId(matterEntity.getId());
// updateEntity.setIsConvert(1);
// updateEntity.setUpdateTime(new Date());
// siteMatterService.update(updateEntity);
// }
// }
}
log.info("事项材料处理完成...");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment