Commit 27588d55 by shenjunjie

调整简报竞品格式3

parent b60202fc
package com.zhiwei.brandkbs2; package com.zhiwei.brandkbs2;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
...@@ -20,9 +22,11 @@ import org.springframework.scheduling.annotation.EnableScheduling; ...@@ -20,9 +22,11 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication(exclude = {MongoAutoConfiguration.class, DataSourceAutoConfiguration.class}) @SpringBootApplication(exclude = {MongoAutoConfiguration.class, DataSourceAutoConfiguration.class})
@EnableAspectJAutoProxy @EnableAspectJAutoProxy
public class Brandkbs2Application { public class Brandkbs2Application {
private static final Logger logger = LogManager.getLogger(Brandkbs2Application.class);
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(Brandkbs2Application.class, args); SpringApplication.run(Brandkbs2Application.class, args);
logger.info("Brandkbs启动完成....2023/2/15");
} }
} }
...@@ -358,7 +358,7 @@ public class ReportServiceImpl implements ReportService { ...@@ -358,7 +358,7 @@ public class ReportServiceImpl implements ReportService {
json.put("id", brandContendId); json.put("id", brandContendId);
json.put("brand", abstractProject.getBrandName()); json.put("brand", abstractProject.getBrandName());
try { try {
json.put("brandCompare", markDataService.getContendSpreadAnalyze(startTime, endTime, projectId, contendId, 5, true)); json.put("brandCompare", markDataService.getContendSpreadAnalyze(startTime, endTime, projectId, brandContendId, 5, true));
} catch (IOException e) { } catch (IOException e) {
log.error("getPcReportResult-brandCompare-", e); log.error("getPcReportResult-brandCompare-", e);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment