|
@@ -41,6 +41,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.util.Pair;
|
|
|
import org.springframework.http.*;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.util.StringUtils;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
import java.lang.reflect.Field;
|
|
@@ -1322,6 +1323,10 @@ public class DataDashboardService {
|
|
|
@XxlJob("scheduleExportFirstContentScore")
|
|
|
public ReturnT<String> scheduleExportFirstContentScore(String param) {
|
|
|
List<String> dateStrList = DateUtils.getBeforeDays(null, 1);
|
|
|
+ if (StringUtils.hasText(param)) {
|
|
|
+ dateStrList.clear();
|
|
|
+ dateStrList.add(param);
|
|
|
+ }
|
|
|
exportFeishuFirstContentScore(dateStrList, sheetToken, "XBFd16");
|
|
|
return ReturnT.SUCCESS;
|
|
|
}
|