|
|
@@ -597,7 +597,7 @@ public class DynamicTbServiceImpl extends ServiceImpl<DynamicTbMapper, DynamicTb
|
|
|
continue;
|
|
|
}
|
|
|
templateDO.setId(id);
|
|
|
- byte[] fileBytes = fileMap.get(templateDO.getId());
|
|
|
+ byte[] fileBytes = fileMap.get(oldId);
|
|
|
if (fileBytes != null && fileBytes.length > 0) {
|
|
|
String newFileUrl = fileApi.createFile(fileBytes);
|
|
|
templateDO.setFileUrl(newFileUrl);
|