Commit 8d8e9da6 authored by weizhikai's avatar weizhikai

1、上传历史版本的同时进行归档优化

parent 44bda2bb
...@@ -164,7 +164,7 @@ public class ReportUploadService extends BaseService { ...@@ -164,7 +164,7 @@ public class ReportUploadService extends BaseService {
FileTypesExample fileTypesExample = new FileTypesExample(); FileTypesExample fileTypesExample = new FileTypesExample();
fileTypesExample.createCriteria().andFileTypeEqualTo("增值税及附加税费计算底稿"); fileTypesExample.createCriteria().andFileTypeEqualTo("增值税及附加税费计算底稿");
List<FileTypes> fileTypesList = fileTypesMapper.selectByExample(fileTypesExample); List<FileTypes> fileTypesList = fileTypesMapper.selectByExample(fileTypesExample);
if(CollectionUtils.isNotEmpty(dataList)){ if(CollectionUtils.isNotEmpty(fileTypesList)){
taxDocument.setFileAttr(fileTypesList.get(0).getFileAttr()); taxDocument.setFileAttr(fileTypesList.get(0).getFileAttr());
taxDocument.setFileTypeId(fileTypesList.get(0).getId()); taxDocument.setFileTypeId(fileTypesList.get(0).getId());
} }
......
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