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
6d1460bb
Commit
6d1460bb
authored
Mar 10, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c6c1a512
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
PersonPostApi.java
src/main/java/com/yxproject/start/api/PersonPostApi.java
+2
-3
PersonPostMapper.java
...ain/java/com/yxproject/start/mapper/PersonPostMapper.java
+2
-2
PersonPostServiceImpl.java
...m/yxproject/start/service/impl/PersonPostServiceImpl.java
+1
-2
No files found.
src/main/java/com/yxproject/start/api/PersonPostApi.java
View file @
6d1460bb
...
@@ -57,10 +57,9 @@ public class PersonPostApi {
...
@@ -57,10 +57,9 @@ public class PersonPostApi {
String
orderNumber
=
jsonObject
.
getString
(
"orderNumber"
);
String
orderNumber
=
jsonObject
.
getString
(
"orderNumber"
);
String
state
=
jsonObject
.
getString
(
"state"
);
String
state
=
jsonObject
.
getString
(
"state"
);
String
latticeMouthInformation
=
jsonObject
.
getString
(
"latticeMouthInformation"
);
String
latticeMouthInformation
=
jsonObject
.
getString
(
"latticeMouthInformation"
);
List
<
String
>
getToCounty
=
new
ArrayList
<>();
JSONArray
jsonArray
=(
JSONArray
)
jsonObject
.
get
(
"getToCounty"
);
getToCounty
.
add
(
jsonObject
.
getString
(
"getToCounty"
));
String
uploadDate
=
replaceDate
(
jsonObject
.
getString
(
"uploadDate"
));
String
uploadDate
=
replaceDate
(
jsonObject
.
getString
(
"uploadDate"
));
int
count
=
personPostService
.
findPersonalDataCount
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
getToCount
y
,
uploadDate
);
int
count
=
personPostService
.
findPersonalDataCount
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
jsonArra
y
,
uploadDate
);
return
count
;
return
count
;
}
}
...
...
src/main/java/com/yxproject/start/mapper/PersonPostMapper.java
View file @
6d1460bb
...
@@ -44,8 +44,8 @@ public interface PersonPostMapper {
...
@@ -44,8 +44,8 @@ public interface PersonPostMapper {
" <when test='getToCounty!=null'> and PERSON_POST.GET_TO_COUNTY in ( #{getToCounty} ) </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>"
+
" <when test='uploadDate!=\"\"'> and subStr(FILE_NAME_DIC.UPLOAD_DATE,0,8)=#{uploadDate} </when>"
+
") "
+
") "
+
"A"
+
"A"
+
")"
+
")"
+
"WHERE RN BETWEEN #{pageSize} AND #{firstIndex}"
+
"WHERE RN BETWEEN #{pageSize} AND #{firstIndex}"
+
"</script>"
)
"</script>"
)
public
List
<
PersonPostEntity
>
findAllPersonalData
(
@Param
(
"applicantName"
)
String
applicantName
,
@Param
(
"orderNumber"
)
String
orderNumber
,
@Param
(
"state"
)
String
state
,
@Param
(
"latticeMouthInformation"
)
String
latticeMouthInformation
,
@Param
(
"getToCounty"
)
String
getToCounty
,
@Param
(
"uploadDate"
)
String
uploadDate
,
@Param
(
"firstIndex"
)
long
firstIndex
,
@Param
(
"pageSize"
)
long
pageSize
);
public
List
<
PersonPostEntity
>
findAllPersonalData
(
@Param
(
"applicantName"
)
String
applicantName
,
@Param
(
"orderNumber"
)
String
orderNumber
,
@Param
(
"state"
)
String
state
,
@Param
(
"latticeMouthInformation"
)
String
latticeMouthInformation
,
@Param
(
"getToCounty"
)
String
getToCounty
,
@Param
(
"uploadDate"
)
String
uploadDate
,
@Param
(
"firstIndex"
)
long
firstIndex
,
@Param
(
"pageSize"
)
long
pageSize
);
...
...
src/main/java/com/yxproject/start/service/impl/PersonPostServiceImpl.java
View file @
6d1460bb
...
@@ -63,7 +63,6 @@ public class PersonPostServiceImpl implements PersonPostService {
...
@@ -63,7 +63,6 @@ public class PersonPostServiceImpl implements PersonPostService {
str
+=
"'"
+
getToCounty
.
get
(
i
)+
"',"
;
str
+=
"'"
+
getToCounty
.
get
(
i
)+
"',"
;
}
}
}
}
System
.
out
.
println
(
"!!!!!!!!!!!!!!!!!!!!!!!!"
+
str
);
List
<
PersonPostEntity
>
list
=
personPostMapper
.
findAllPersonalData
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
str
,
uploadDate
,
firstIndexLong
*
pageSizeLong
,(
firstIndexLong
-
1
)
*
pageSizeLong
+
1
);
List
<
PersonPostEntity
>
list
=
personPostMapper
.
findAllPersonalData
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
str
,
uploadDate
,
firstIndexLong
*
pageSizeLong
,(
firstIndexLong
-
1
)
*
pageSizeLong
+
1
);
System
.
out
.
println
(
"数据:"
+
list
);
System
.
out
.
println
(
"数据:"
+
list
);
return
list
;
return
list
;
...
@@ -99,8 +98,8 @@ public class PersonPostServiceImpl implements PersonPostService {
...
@@ -99,8 +98,8 @@ public class PersonPostServiceImpl implements PersonPostService {
str
+=
"'"
+
getToCounty
.
get
(
i
)+
"',"
;
str
+=
"'"
+
getToCounty
.
get
(
i
)+
"',"
;
}
}
}
}
System
.
out
.
println
(
"1111111111111111111111111111"
+
str
);
int
count
=
personPostMapper
.
findPersonalDataCount
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
str
,
uploadDate
);
int
count
=
personPostMapper
.
findPersonalDataCount
(
applicantName
,
orderNumber
,
state
,
latticeMouthInformation
,
str
,
uploadDate
);
System
.
out
.
println
(
"1111111111111111111count:"
+
count
);
return
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