|
@@ -72,8 +72,8 @@ public class PrintingTemplateServiceImpl implements PrintingTemplateService {
|
|
|
PrintingTemplate template = printingTemplateRepository.findOne(spec);
|
|
|
if (template != null) {
|
|
|
//存在记录时,则修改
|
|
|
- info.setFileName(info.getFileName());
|
|
|
- info.setFileUrl(info.getFileUrl());
|
|
|
+ template.setFileName(info.getFileName());
|
|
|
+ template.setFileUrl(info.getFileUrl());
|
|
|
printingTemplateRepository.save(template);
|
|
|
return;
|
|
|
}
|