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
1ad57a41
Commit
1ad57a41
authored
Mar 10, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a1eb4f5e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
17 deletions
+12
-17
LogApi.java
src/main/java/com/yxproject/start/api/LogApi.java
+4
-4
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+2
-7
LogService.java
src/main/java/com/yxproject/start/service/LogService.java
+2
-2
LogServiceImpl.java
...java/com/yxproject/start/service/impl/LogServiceImpl.java
+4
-4
No files found.
src/main/java/com/yxproject/start/api/LogApi.java
View file @
1ad57a41
...
...
@@ -54,8 +54,8 @@ 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
,
replaceDate
(
createDate
),
uploadCountyCode
);
public
int
selectNewFileLogCount
(
@RequestParam
(
"newFileName"
)
String
newFileName
,
@RequestParam
(
"cardId"
)
String
cardId
,
@RequestParam
(
"createDate"
)
String
createDate
,
@RequestParam
(
"uploadCountyCode"
)
String
uploadCountyCode
){
int
total
=
logService
.
selectNewFileLogCount
(
newFileName
,
cardId
,
replaceDate
(
createDate
),
uploadCountyCode
);
return
total
;
}
...
...
@@ -80,8 +80,8 @@ public class LogApi {
* @return
*/
@RequestMapping
(
"selectAnalysisLogCount"
)
public
String
selectAnalysisLogCount
(
@RequestParam
(
"fileName"
)
String
fileName
,
@RequestParam
(
"analysisTime"
)
String
analysisTime
){
String
total
=
logService
.
selectAnalysisLogCount
(
fileName
,
replaceDate
(
analysisTime
));
public
int
selectAnalysisLogCount
(
@RequestParam
(
"fileName"
)
String
fileName
,
@RequestParam
(
"analysisTime"
)
String
analysisTime
){
int
total
=
logService
.
selectAnalysisLogCount
(
fileName
,
replaceDate
(
analysisTime
));
return
total
;
}
...
...
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
1ad57a41
...
...
@@ -2,8 +2,6 @@ package com.yxproject.start.mapper;
import
com.yxproject.start.entity.CountyDicEntity
;
import
org.apache.ibatis.annotations.*
;
import
org.omg.CORBA.PUBLIC_MEMBER
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -116,7 +114,7 @@ public interface LogMapper {
" and PREPRO_PERSON.GMSFHM=#{cardId} "
+
" </if>"
+
"</script>"
)
public
String
selectNewFileLogCount
(
@Param
(
"newFileName"
)
String
newFileName
,
@Param
(
"cardId"
)
String
cardId
,
@Param
(
"createDate"
)
String
createDate
,
@Param
(
"uploadCountyCode"
)
String
uploadCountyName
);
public
int
selectNewFileLogCount
(
@Param
(
"newFileName"
)
String
newFileName
,
@Param
(
"cardId"
)
String
cardId
,
@Param
(
"createDate"
)
String
createDate
,
@Param
(
"uploadCountyCode"
)
String
uploadCountyName
);
@Select
(
"<script> "
+
...
...
@@ -131,9 +129,6 @@ public interface LogMapper {
"<if test='analysisDate !=\"\"' >"
+
"AND FILE_NAME_DIC.ANALYSIS_DATE = #{analysisDate} "
+
"</if>"
+
"group by FILE_NAME_DIC.FILE_NAME, FILE_NAME_DIC.FORM_START_TIME, "
+
"FILE_NAME_DIC.FORM_DEADLINE, PERSON_POST.LATTICE_MOUTH_INFORMATION, "
+
"FILE_NAME_DIC.ANALYSIS_DATE, FILES.RECORD_NUMBER"
+
"</script>"
)
public
String
selectAnalysisLogCount
(
@Param
(
"fileName"
)
String
fileName
,
@Param
(
"analysisDate"
)
String
analysisDate
);
public
int
selectAnalysisLogCount
(
@Param
(
"fileName"
)
String
fileName
,
@Param
(
"analysisDate"
)
String
analysisDate
);
}
src/main/java/com/yxproject/start/service/LogService.java
View file @
1ad57a41
...
...
@@ -10,11 +10,11 @@ public interface LogService {
public
List
<
Map
<
String
,
Object
>>
selectNewFilesLog
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
,
long
currPage
,
long
pageSize
);
public
String
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
);
public
int
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
);
public
List
<
Map
<
String
,
Object
>>
selectAnalysisLog
(
String
fileName
,
String
analysisDate
,
long
currPage
,
long
pageSize
);
public
String
selectAnalysisLogCount
(
String
fileName
,
String
analysisDate
);
public
int
selectAnalysisLogCount
(
String
fileName
,
String
analysisDate
);
public
List
<
CountyDicEntity
>
getCountyList
();
...
...
src/main/java/com/yxproject/start/service/impl/LogServiceImpl.java
View file @
1ad57a41
...
...
@@ -20,8 +20,8 @@ public class LogServiceImpl implements LogService {
}
@Override
public
String
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
)
{
String
count
=
logMapper
.
selectNewFileLogCount
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
);
public
int
selectNewFileLogCount
(
String
newFileName
,
String
cardId
,
String
createDate
,
String
uploadCountyCode
)
{
int
count
=
logMapper
.
selectNewFileLogCount
(
newFileName
,
cardId
,
createDate
,
uploadCountyCode
);
return
count
;
}
...
...
@@ -32,8 +32,8 @@ public class LogServiceImpl implements LogService {
}
@Override
public
String
selectAnalysisLogCount
(
String
fileName
,
String
analysisDate
)
{
String
count
=
logMapper
.
selectAnalysisLogCount
(
fileName
,
analysisDate
);
public
int
selectAnalysisLogCount
(
String
fileName
,
String
analysisDate
)
{
int
count
=
logMapper
.
selectAnalysisLogCount
(
fileName
,
analysisDate
);
return
count
;
}
...
...
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