继续优化代码

This commit is contained in:
Achilles
2024-01-06 17:54:11 +08:00
parent 636bd0a82a
commit 7b0517cc33

View File

@@ -247,7 +247,7 @@ public class MoneyScraper {
if (soup2 != null) {
Element comIdInput = soup2.selectFirst("input[id=ap_sc_id]");
String companyCodeId = null;
String companyCodeId = "";
if (comIdInput != null) {
companyCodeId = comIdInput.val();
log.info(Thread.currentThread().getName()+",the stockName: " + textContent + ", THE input id: " + companyCodeId);