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
66550f8c
Commit
66550f8c
authored
Mar 17, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
d10906fd
891e2c3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
PersonPostMapper.java
...ain/java/com/yxproject/start/mapper/PersonPostMapper.java
+5
-3
PersonPostServiceImpl.java
...m/yxproject/start/service/impl/PersonPostServiceImpl.java
+0
-1
No files found.
src/main/java/com/yxproject/start/mapper/PersonPostMapper.java
View file @
66550f8c
...
...
@@ -40,7 +40,8 @@ public interface PersonPostMapper {
" WHERE 1=1"
+
" <when test='applicantName!=\"\"'> and PERSON_POST.APPLICANT_NAME = #{applicantName} </when>"
+
" <when test='orderNumber!=\"\"'> and PERSON_POST.ORDER_NUMBER=#{orderNumber} </when>"
+
" <when test='state!=\"\"'> and PERSON_POST.STATE=#{state} </when>"
+
" <when test='state= 0 '> and PERSON_POST.print_date is null </when>"
+
" <when test='state= 1 '> and PERSON_POST.print_date is not null </when>"
+
" <when test='latticeMouthInformation!=\"\"'> and PERSON_POST.LATTICE_MOUTH_INFORMATION=#{latticeMouthInformation} </when>"
+
" <when test='getToCounty!=null'> and PERSON_POST.GET_TO_COUNTY in ( #{getToCounty} ) </when>"
+
" <when test='uploadDate!=\"\"'> and subStr(FILE_NAME_DIC.UPLOAD_DATE,0,8)=#{uploadDate} </when>"
+
...
...
@@ -58,7 +59,8 @@ public interface PersonPostMapper {
" where 1=1 "
+
" <when test='applicantName!=\"\"'> and PERSON_POST.APPLICANT_NAME = #{applicantName} </when>"
+
" <when test='orderNumber!=\"\"'> and PERSON_POST.ORDER_NUMBER=#{orderNumber} </when>"
+
" <when test='state!=\"\"'> and PERSON_POST.STATE=#{state} </when>"
+
" <when test='state= 0 '> and PERSON_POST.print_date is null </when>"
+
" <when test='state= 1 '> and PERSON_POST.print_date is not null </when>"
+
" <when test='latticeMouthInformation!=\"\"'> and PERSON_POST.LATTICE_MOUTH_INFORMATION=#{latticeMouthInformation} </when>"
+
" <when test='getToCounty!=null'> and PERSON_POST.GET_TO_COUNTY in ( #{getToCounty} ) </when>"
+
" <when test='uploadDate!=\"\"'> and subStr(FILE_NAME_DIC.UPLOAD_DATE,0,8)=#{uploadDate} </when>"
+
...
...
@@ -71,7 +73,7 @@ public interface PersonPostMapper {
"WHERE 1=1"
+
" <when test='applicantName!=null'> and PERSON_POST.APPLICANT_NAME = #{applicantName} </when>"
+
" <when test='orderNumber!=null'> and PERSON_POST.ORDER_NUMBER=#{orderNumber} </when>"
+
" <when test='state!=
null
'> and PERSON_POST.STATE=#{state} </when>"
+
" <when test='state!=
null
'> and PERSON_POST.STATE=#{state} </when>"
+
" <when test='latticeMouthInformation!=null'> and PERSON_POST.LATTICE_MOUTH_INFORMATION=#{latticeMouthInformation} </when>"
+
" <when test='getToCounty!=null'> and PERSON_POST.GET_TO_COUNTY in ( #{getToCounty}) </when>"
+
" <when test='uploadDate!=null'> and FILE_NAME_DIC.UPLOAD_DATE=#{uploadDate} </when>"
)
...
...
src/main/java/com/yxproject/start/service/impl/PersonPostServiceImpl.java
View file @
66550f8c
...
...
@@ -110,7 +110,6 @@ public class PersonPostServiceImpl implements PersonPostService {
}
}
int
count
=
personPostMapper
.
findPersonalDataCount
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
str
,
uploadDate
);
System
.
out
.
println
(
"1111111111111111111count:"
+
count
);
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