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
d6eab145
Commit
d6eab145
authored
Mar 11, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
cd688f4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
queryPreproPerson.java
src/main/java/com/yxproject/start/api/queryPreproPerson.java
+2
-2
PreproPersonMapper.java
...n/java/com/yxproject/start/mapper/PreproPersonMapper.java
+2
-2
No files found.
src/main/java/com/yxproject/start/api/queryPreproPerson.java
View file @
d6eab145
...
...
@@ -36,9 +36,9 @@ public class queryPreproPerson {
int
puSum
=
0
;
int
invaildCount
=
0
;
for
(
PreproPersonEntity
preproPersonEntity
:
preproPersonEntityList
){
if
(
preproPersonEntity
.
getCardTypeId
()==
9
){
if
(
preproPersonEntity
.
getCardTypeId
()
!=
null
&&
preproPersonEntity
.
getCardTypeId
()
==
9
){
youSum
++;
}
else
if
(
preproPersonEntity
.
getCardTypeId
()==
0
){
}
else
if
(
preproPersonEntity
.
getCardTypeId
()
!=
null
&&
preproPersonEntity
.
getCardTypeId
()
==
0
){
puSum
++;
}
if
(
preproPersonEntity
.
getIsValid
()==
0
){
...
...
src/main/java/com/yxproject/start/mapper/PreproPersonMapper.java
View file @
d6eab145
...
...
@@ -50,7 +50,7 @@ public interface PreproPersonMapper {
" and PREPRO_PERSON.state = #{state}"
+
" </if> "
+
" <if test='uploadDate != null '>"
+
" and
substr(files.CREATE_TIME,0,8
) = #{uploadDate}"
+
" and
to_char(UPLOAD_DATE,'yyyyMMdd'
) = #{uploadDate}"
+
" </if> </where>"
+
") a ) where rn between #{minNum} and #{maxNum} </script>"
})
public
List
<
PreproPersonEntity
>
selectPreproPerson
(
@Param
(
"uploadNo"
)
String
uploadNo
,
@Param
(
"IDCard"
)
String
IDCard
,
@Param
(
"oldFile"
)
String
oldFile
,
@Param
(
"newFile"
)
String
newFile
,
@Param
(
"SSXQDM"
)
String
SSXQDM
,
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"state"
)
String
state
,
@Param
(
"uploadDate"
)
String
uploadDate
,
@Param
(
"minNum"
)
long
minNum
,
@Param
(
"maxNum"
)
long
maxNum
);
...
...
@@ -81,7 +81,7 @@ public interface PreproPersonMapper {
" and PREPRO_PERSON.state = #{state}"
,
" </if> "
,
" <if test='uploadDate != null '>"
,
" and
substr(files.CREATE_TIME,0,8
) = #{uploadDate}"
,
" and
to_char(UPLOAD_DATE,'yyyyMMdd'
) = #{uploadDate}"
,
" </if> "
,
"</where>"
+
" </script>"
})
...
...
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