增加动态表单自动排版配置界面的保存回显逻辑
This commit is contained in:
parent
04e89af0ab
commit
7ebf1115cd
@ -523,10 +523,14 @@ public class PicturesTemplateServiceImpl extends DefaultBaseService implements I
|
||||
if(base64 != null ) {
|
||||
result.setData(base64);
|
||||
/**
|
||||
* 更新预览图
|
||||
* 更新预览图 , 将旧的预览图删除掉
|
||||
*/
|
||||
String picturesTemplatePictureUrl = iPicturesTemplateBuildingService.saveBase64ToFile(base64);
|
||||
PicturesTemplateDTO dto = picturesTemplateDao.getPicturesTemplateByCode(picturesTemplateCode);
|
||||
// 因为使用快照的原因, 旧的预览图片不能删除 2021年8月14日19:32:57
|
||||
/*if(!StringUtils.isEmpty(dto.getPicturesTemplatePictureUrl())) {
|
||||
iFileService.delete(dto.getPicturesTemplatePictureUrl());
|
||||
}*/
|
||||
String picturesTemplatePictureUrl = iPicturesTemplateBuildingService.saveBase64ToFile(base64);
|
||||
Map<String, Object> map = new HashMap<String, Object>();
|
||||
map.put("picturesTemplatePicture", base64);
|
||||
map.put("picturesTemplatePictureUrl", picturesTemplatePictureUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user