|
@@ -64,10 +64,7 @@ import org.springblade.manager.formula.NodeTable;
|
|
|
import org.springblade.manager.formula.impl.TableElementConverter;
|
|
|
import org.springblade.manager.mapper.ExcelTabMapper;
|
|
|
import org.springblade.manager.service.*;
|
|
|
-import org.springblade.manager.utils.FileUtils;
|
|
|
-import org.springblade.manager.utils.PdfAddContextUtils;
|
|
|
-import org.springblade.manager.utils.PdfAddimgUtil;
|
|
|
-import org.springblade.manager.utils.RandomNumberHolder;
|
|
|
+import org.springblade.manager.utils.*;
|
|
|
import org.springblade.manager.vo.*;
|
|
|
import org.springblade.resource.feign.NewIOSSClient;
|
|
|
import org.springblade.system.cache.ParamCache;
|
|
@@ -86,6 +83,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.transaction.support.DefaultTransactionDefinition;
|
|
|
|
|
|
import java.io.*;
|
|
|
+import java.net.URL;
|
|
|
import java.nio.file.Files;
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
@@ -850,7 +848,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
int status = callback.getStatus();
|
|
|
int saved = 0;
|
|
|
//status=6,表示点击保存按钮 2 关闭保存
|
|
|
- /*if (status == 3 || status == 6) //MustSave, Corrupted
|
|
|
+ if (status == 3 || status == 6) //MustSave, Corrupted
|
|
|
{
|
|
|
//获取url
|
|
|
String downloadUri = callback.getUrl();
|
|
@@ -899,7 +897,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
editCallback.setError(1);
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- }*/
|
|
|
+ }
|
|
|
return editCallback;
|
|
|
}
|
|
|
|