Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
夏齐
/
hzbdcsyn
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
41f4a75d
authored
2022-08-09 16:23:52 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次提交
1 parent
0d30a434
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
src/main/java/com/pashanhoo/common/QysTask.java
src/main/java/com/pashanhoo/qys/service/impl/EciServiceImpl.java
src/main/java/com/pashanhoo/common/QysTask.java
View file @
41f4a75
...
...
@@ -12,7 +12,7 @@ public class QysTask {
@Autowired
private
EciService
eciService
;
@Scheduled
(
cron
=
"0 0/5 * * * ?"
)
@Scheduled
(
cron
=
"0 0/5 * * * ?"
)
public
void
accessCreateContract
()
{
System
.
out
.
println
(
"===========创建合同定时任务进来了========="
);
eciService
.
accessCreateContract
();
...
...
src/main/java/com/pashanhoo/qys/service/impl/EciServiceImpl.java
View file @
41f4a75
...
...
@@ -476,25 +476,27 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
if
(
zsbh
!=
null
&&
zsbh
.
length
>
0
){
String
qlqtzk
=(
String
)
map
.
get
(
"QLQTZK"
);
Map
qrlInfoMap
=
regBusBdcqzsdjxxMapper
.
getQlrInfoByYwh
((
String
)
map
.
get
(
"YWH"
));
String
allQlrmc
=(
String
)
qrlInfoMap
.
get
(
"QLRMC"
);
String
allZjh
=(
String
)
qrlInfoMap
.
get
(
"ZJH"
);
if
(
StringUtils
.
isNotBlank
(
allQlrmc
)){
for
(
int
k
=
0
;
k
<
zsbh
.
length
;
k
++)
{
String
qlr
[]=
allQlrmc
.
split
(
","
);
String
zjh
[]=
allZjh
.
split
(
","
);
Map
hashMap
=
new
HashMap
(
map
);
hashMap
.
put
(
"QLRMC"
,
qlr
[
k
]);
hashMap
.
put
(
"BH"
,
zsbh
[
k
]);
hashMap
.
put
(
"ZJH"
,
zjh
[
k
]);
List
list1
=
Arrays
.
asList
(
qlr
);
List
arrList
=
new
ArrayList
(
list1
);
arrList
.
remove
(
qlr
[
k
]);
String
gyr
=
StringUtils
.
join
(
arrList
.
toArray
(),
","
);
if
(
StringUtils
.
isNotBlank
(
qlqtzk
)){
qlqtzk
=
qlqtzk
.
substring
(
0
,
qlqtzk
.
length
()
-
1
);
hashMap
.
put
(
"QLQTZK"
,
qlqtzk
+
hashMap
.
get
(
"GYQK"
)+
";共有人:"
+
gyr
);
if
(
qrlInfoMap
!=
null
){
String
allQlrmc
=(
String
)
qrlInfoMap
.
get
(
"QLRMC"
);
String
allZjh
=(
String
)
qrlInfoMap
.
get
(
"ZJH"
);
if
(
StringUtils
.
isNotBlank
(
allQlrmc
)){
for
(
int
k
=
0
;
k
<
zsbh
.
length
;
k
++)
{
String
qlr
[]=
allQlrmc
.
split
(
","
);
String
zjh
[]=
allZjh
.
split
(
","
);
Map
hashMap
=
new
HashMap
(
map
);
hashMap
.
put
(
"QLRMC"
,
qlr
[
k
]);
hashMap
.
put
(
"BH"
,
zsbh
[
k
]);
hashMap
.
put
(
"ZJH"
,
zjh
[
k
]);
List
list1
=
Arrays
.
asList
(
qlr
);
List
arrList
=
new
ArrayList
(
list1
);
arrList
.
remove
(
qlr
[
k
]);
String
gyr
=
StringUtils
.
join
(
arrList
.
toArray
(),
","
);
if
(
StringUtils
.
isNotBlank
(
qlqtzk
)){
qlqtzk
=
qlqtzk
.
substring
(
0
,
qlqtzk
.
length
()
-
1
);
hashMap
.
put
(
"QLQTZK"
,
qlqtzk
+
hashMap
.
get
(
"GYQK"
)+
";共有人:"
+
gyr
);
}
list
.
add
(
hashMap
);
}
list
.
add
(
hashMap
);
}
}
}
...
...
Please
register
or
sign in
to post a comment