Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenjunjie
brandkbs2
Commits
27588d55
Commit
27588d55
authored
Feb 15, 2023
by
shenjunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整简报竞品格式3
parent
b60202fc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
src/main/java/com/zhiwei/brandkbs2/Brandkbs2Application.java
+4
-0
src/main/java/com/zhiwei/brandkbs2/service/impl/ReportServiceImpl.java
+1
-1
No files found.
src/main/java/com/zhiwei/brandkbs2/Brandkbs2Application.java
View file @
27588d55
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"
);
}
}
}
}
src/main/java/com/zhiwei/brandkbs2/service/impl/ReportServiceImpl.java
View file @
27588d55
...
@@ -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
,
c
ontendId
,
5
,
true
));
json
.
put
(
"brandCompare"
,
markDataService
.
getContendSpreadAnalyze
(
startTime
,
endTime
,
projectId
,
brandC
ontendId
,
5
,
true
));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
log
.
error
(
"getPcReportResult-brandCompare-"
,
e
);
log
.
error
(
"getPcReportResult-brandCompare-"
,
e
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment