Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
data-spider
baihang-report
Commits
88835644
Commit
88835644
authored
Dec 12, 2021
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段名定义
parent
d2f94560
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ManualToolController.java
...cn/quantgroup/report/controller/ManualToolController.java
+2
-2
BaiHangFileReportService.java
...roup/report/service/baihang/BaiHangFileReportService.java
+1
-1
No files found.
src/main/java/cn/quantgroup/report/controller/ManualToolController.java
View file @
88835644
...
...
@@ -206,9 +206,9 @@ public class ManualToolController {
}
@RequestMapping
(
"/singleFileDataCheck"
)
public
String
singleFileDataCheck
(
String
type
,
String
collect
FileName
,
String
fieldNames
){
public
String
singleFileDataCheck
(
String
type
,
String
single
FileName
,
String
fieldNames
){
try
{
fileReportService
.
singleFileDataCheck
(
type
,
collect
FileName
,
fieldNames
);
fileReportService
.
singleFileDataCheck
(
type
,
single
FileName
,
fieldNames
);
return
"SUCCESS"
;
}
catch
(
Exception
e
){
return
e
.
getMessage
();
...
...
src/main/java/cn/quantgroup/report/service/baihang/BaiHangFileReportService.java
View file @
88835644
...
...
@@ -910,7 +910,7 @@ public class BaiHangFileReportService {
}
}
if
(!
CollectionUtils
.
isEmpty
(
checkResult
))
{
File
file
=
new
File
(
HOST_PATH
+
type
+
"_fileDataCheck_"
+
DateUtils
.
formatDate
(
new
Date
(),
"yyyyMMddHHmmsss"
)
+
".txt"
);
File
file
=
new
File
(
HOST_PATH
+
singleFileName
.
replace
(
"-R.cry"
,
""
)
+
"_fileDataCheck_"
+
DateUtils
.
formatDate
(
new
Date
(),
"yyyyMMddHHmmsss"
)
+
".txt"
);
FileUtils
.
writeLines
(
file
,
checkResult
,
Boolean
.
TRUE
);
}
}
catch
(
Exception
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