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
48110693
authored
2022-08-19 11:40:33 +0800
by
夏齐
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
首次提交
1 parent
040fbf90
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
src/main/java/com/pashanhoo/common/QysTask.java
src/main/java/com/pashanhoo/qys/service/impl/EciServiceImpl.java
src/main/resources/application.yaml
src/main/resources/mapper/RegBusBdcqzsdjxxMapper.xml
src/main/java/com/pashanhoo/common/QysTask.java
View file @
4811069
...
...
@@ -12,7 +12,7 @@ public class QysTask {
@Autowired
private
EciService
eciService
;
@Scheduled
(
cron
=
"0 0/1 * * * ?"
)
@Scheduled
(
cron
=
"0 0/1
0
* * * ?"
)
public
void
accessCreateContract
()
{
System
.
out
.
println
(
"===========创建合同定时任务进来了========="
);
eciService
.
accessCreateContract
();
...
...
src/main/java/com/pashanhoo/qys/service/impl/EciServiceImpl.java
View file @
4811069
...
...
@@ -510,6 +510,9 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
arrList
.
remove
(
qlr
[
k
]);
String
gyr
=
StringUtils
.
join
(
arrList
.
toArray
(),
","
);
if
(
StringUtils
.
isNotBlank
(
qlqtzk
))
{
if
(((
String
)
map
.
get
(
"BDCDYH"
)).
contains
(
"GX"
)
||
((
String
)
map
.
get
(
"ZL"
)).
contains
(
"柴房"
)
){
qlqtzk
=
qlqtzk
.
substring
(
qlqtzk
.
indexOf
(
";"
)+
1
);
}
String
[]
qlzkInfo
=
qlqtzk
.
split
(
";"
);
for
(
int
j
=
0
;
j
<
qlzkInfo
.
length
;
j
++)
{
if
(
qlzkInfo
[
j
].
contains
(
"共有情况"
))
{
...
...
@@ -565,6 +568,9 @@ public class EciServiceImpl extends ServiceImpl<ElecLicenseInfoMapper, ElecLicen
arrList
.
remove
(
qlr
[
k
]);
String
gyr
=
StringUtils
.
join
(
arrList
.
toArray
(),
","
);
if
(
StringUtils
.
isNotBlank
(
qlqtzk
)){
if
(((
String
)
map
.
get
(
"BDCDYH"
)).
contains
(
"GX"
)
||
((
String
)
map
.
get
(
"ZL"
)).
contains
(
"柴房"
)
){
qlqtzk
=
qlqtzk
.
substring
(
qlqtzk
.
indexOf
(
";"
)+
1
);
}
String
[]
qlzkInfo
=
qlqtzk
.
split
(
";"
);
for
(
int
j
=
0
;
j
<
qlzkInfo
.
length
;
j
++)
{
if
(
qlzkInfo
[
j
].
contains
(
"共有情况"
))
{
...
...
src/main/resources/application.yaml
View file @
4811069
...
...
@@ -55,11 +55,11 @@ mybatis-plus:
call-setters-on-nulls
:
true
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
app
:
hostUrl
:
http://172.16.56.
60
:9182
bdcdjzmlc
:
2
905681381004489569
bdcqzslc
:
2
905684509636506505
AppToken
:
lv2M681jcM
AppSecret
:
mZWAKA2p7vvnTZMNuUKRHaCL3LTgHA
hostUrl
:
http://172.16.56.
41
:9182
bdcdjzmlc
:
2
890537670326468622
bdcqzslc
:
2
890537800123400234
AppToken
:
OAduCx5qJD
AppSecret
:
DifsZNwDnamuRh9jS0gSOTJFvmmKtT
areacode
:
610702
...
...
src/main/resources/mapper/RegBusBdcqzsdjxxMapper.xml
View file @
4811069
...
...
@@ -125,6 +125,7 @@
where c.del_flag = '0'
and c.isxydzzz = '1'
and c.iscjdzzz = '0'
and c.ywh like '20%'
and dbsj is not null ) where rn=1
</select>
...
...
Please
register
or
sign in
to post a comment