|
@@ -113,10 +113,13 @@ public class ExtractConfigFileServiceImpl implements ExtractConfigFileService {
|
|
|
|
|
|
@Override
|
|
|
public void saveExtractConfigAndBuildPaperFile(ExtractConfig extractConfig, Integer isbuildFile, User user) throws Exception {
|
|
|
-
|
|
|
- ExtractConfig tempConfig = extractConfigService.findConfig(extractConfig);
|
|
|
- if(tempConfig != null){
|
|
|
- extractConfig = tempConfig;
|
|
|
+
|
|
|
+ if(StringUtils.isBlank(extractConfig.getId())){
|
|
|
+
|
|
|
+ ExtractConfig tempConfig = extractConfigService.findConfig(extractConfig);
|
|
|
+ if(tempConfig != null){
|
|
|
+ extractConfig.setId(tempConfig.getId());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
ExportStructure exportStructure = null;
|