|
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.tzld.longarticle.recommend.server.model.vo.IntermediateIndicatorsExport;
|
|
|
import com.tzld.longarticle.recommend.server.model.vo.NewSortStrategyExport;
|
|
|
import com.tzld.longarticle.recommend.server.service.recommend.DataDashboardService;
|
|
|
+import com.tzld.longarticle.recommend.server.util.DateUtils;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
@@ -31,4 +32,12 @@ public class DataDashboardTest {
|
|
|
log.info(JSONObject.toJSONString(result));
|
|
|
}
|
|
|
|
|
|
+ @Test
|
|
|
+ public void producePlanAuditExport() {
|
|
|
+ List<String> dateStrList = DateUtils.getBeforeDays(null, null, 90);
|
|
|
+ for (String dateStr : dateStrList) {
|
|
|
+ dataDashboardService.producePlanAuditExport(dateStr);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|