|
@@ -42,7 +42,7 @@ public class SignPfxFilePreServiceImpl implements ISignPfxFilePreService {
|
|
private SignPfxFilePreMapper signPfxFilePreMapper;
|
|
private SignPfxFilePreMapper signPfxFilePreMapper;
|
|
|
|
|
|
private final String excelTabFileUrl = "https://blade-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20240731/cf9534fd3ac688df5f9d7a802ba754c0.xlsx";
|
|
private final String excelTabFileUrl = "https://blade-oss-chongqing.oss-cn-shenzhen.aliyuncs.com//upload/20240731/cf9534fd3ac688df5f9d7a802ba754c0.xlsx";
|
|
- private final String wbsHtmlUrl = "/www/wwwroot/Users/hongchuangyanfa/Desktop/privateUrl/1771066158930198528.html";
|
|
|
|
|
|
+ private final String wbsHtmlUrl = "privateUrl/1771066158930198528.html";
|
|
@Autowired
|
|
@Autowired
|
|
private BeanUtil beanUtil;
|
|
private BeanUtil beanUtil;
|
|
|
|
|
|
@@ -121,8 +121,9 @@ public class SignPfxFilePreServiceImpl implements ISignPfxFilePreService {
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
Sheet sheet = workbook.getSheetAt(0);
|
|
sheet.setForceFormulaRecalculation(true);
|
|
sheet.setForceFormulaRecalculation(true);
|
|
List<String> sign = new ArrayList<>();
|
|
List<String> sign = new ArrayList<>();
|
|
- if (StringUtils.isNotEmpty(wbsHtmlUrl)) {
|
|
|
|
- InputStream inputStreamByUrl = FileUtils.getInputStreamByUrl(wbsHtmlUrl);
|
|
|
|
|
|
+ String wbsHtmlUrlNow = file_path+wbsHtmlUrl;
|
|
|
|
+ if (StringUtils.isNotEmpty(wbsHtmlUrlNow)) {
|
|
|
|
+ InputStream inputStreamByUrl = FileUtils.getInputStreamByUrl(wbsHtmlUrlNow);
|
|
String htmlString = IoUtil.readToString(inputStreamByUrl);
|
|
String htmlString = IoUtil.readToString(inputStreamByUrl);
|
|
Document doc = Jsoup.parse(htmlString);
|
|
Document doc = Jsoup.parse(htmlString);
|
|
Element table = doc.select("table").first();
|
|
Element table = doc.select("table").first();
|