Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
79593742
Commit
79593742
authored
Mar 06, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新包日志查询
parent
63d559bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
LogApi.java
src/main/java/com/yxproject/start/api/LogApi.java
+12
-2
No files found.
src/main/java/com/yxproject/start/api/LogApi.java
View file @
79593742
...
...
@@ -37,7 +37,7 @@ public class LogApi {
*/
@RequestMapping
(
"selectNewFilesLog"
)
public
List
<
Map
<
String
,
Object
>>
selectNewFilesLog
(
@RequestParam
(
"newFileName"
)
String
newFileName
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
"createDate"
)
String
createDate
,
@RequestParam
(
"uploadCountyCode"
)
String
uploadCountyCode
,
@RequestParam
(
"currPage"
)
String
currPage
,
@RequestParam
(
"pageSize"
)
String
pageSize
){
List
<
Map
<
String
,
Object
>>
result
=
logService
.
selectNewFilesLog
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
,
Long
.
valueOf
(
currPage
),
Long
.
valueOf
(
pageSize
));
List
<
Map
<
String
,
Object
>>
result
=
logService
.
selectNewFilesLog
(
newFileName
,
cardId
,
replaceDate
(
createDate
)
,
uploadCountyCode
,
Long
.
valueOf
(
currPage
),
Long
.
valueOf
(
pageSize
));
return
result
;
}
...
...
@@ -57,7 +57,17 @@ public class LogApi {
*/
@RequestMapping
(
"selectNewFileLogCount"
)
public
String
selectNewFileLogCount
(
@RequestParam
(
"newFileName"
)
String
newFileName
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
"createDate"
)
String
createDate
,
@RequestParam
(
"uploadCountyCode"
)
String
uploadCountyCode
){
String
total
=
logService
.
selectNewFileLogCount
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
);
String
total
=
logService
.
selectNewFileLogCount
(
newFileName
,
cardId
,
replaceDate
(
createDate
)
,
uploadCountyCode
);
return
total
;
}
/**
* 去除字符串中中线
* @param str
* @return
*/
private
String
replaceDate
(
String
str
){
return
str
.
replace
(
"-"
,
""
);
}
}
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