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
1e3ce2dc
Commit
1e3ce2dc
authored
Apr 22, 2021
by
liuxinben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交接单 港澳台证合并在一起
parent
f7aff1da
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+19
-6
application.yml
src/main/resources/application.yml
+0
-2
No files found.
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
1e3ce2dc
...
...
@@ -396,6 +396,19 @@ public class ReceiptServiceImpl implements ReceiptService {
typeMap
.
put
(
o
.
get
(
"CARD_TYPE"
)
+
""
,
mapList
);
}
}
//将港澳台证合在一起
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
if
(
typeMap
.
containsKey
(
"港澳证"
)
&&
typeMap
.
containsKey
(
"台湾证"
)){
for
(
Map
<
String
,
Object
>
map
:
(
List
<
Map
<
String
,
Object
>>)
typeMap
.
get
(
"港澳证"
)){
list
.
add
(
map
);
}
for
(
Map
<
String
,
Object
>
map
:
(
List
<
Map
<
String
,
Object
>>)
typeMap
.
get
(
"台湾证"
)){
list
.
add
(
map
);
}
typeMap
.
put
(
"港澳台证"
,
list
);
typeMap
.
remove
(
"港澳证"
);
typeMap
.
remove
(
"台湾证"
);
}
//将已按制证分好的Map 再次细化分为任务单Map
for
(
String
type
:
typeMap
.
keySet
())
{
List
<
Map
<
String
,
Object
>>
mapList
=
(
List
<
Map
<
String
,
Object
>>)
typeMap
.
get
(
type
);
...
...
@@ -435,12 +448,12 @@ public class ReceiptServiceImpl implements ReceiptService {
case
"9"
:
countyName
=
"北京市公安局"
;
break
;
case
"7"
:
countyName
=
"台湾
证"
+
countyMap
.
get
(
"COUNTYNAME"
);
break
;
case
"5"
:
countyName
=
"港澳
证"
+
countyMap
.
get
(
"COUNTYNAME"
);
break
;
//
case "7":
// countyName ="港澳台
证"+countyMap.get("COUNTYNAME");
//
break;
//
case "5":
// countyName ="港澳台
证"+countyMap.get("COUNTYNAME");
//
break;
default
:
countyName
=
""
+
countyMap
.
get
(
"COUNTYNAME"
);
}
...
...
src/main/resources/application.yml
View file @
1e3ce2dc
...
...
@@ -13,8 +13,6 @@ spring:
max-file-size
:
20MB
max-request-size
:
2000MB
mybatis
:
type-aliases-package
:
com.yxproject.start.entity
#加载Mybatis配置文件
...
...
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