Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InternalLogic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CrossProvincialPlatform
InternalLogic
Commits
c80c1a51
Commit
c80c1a51
authored
Jan 31, 2024
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单位开户、单位变更、单位销户协议修改
parent
f52f125f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
src/main/java/net/cdkj/gjj/adapter/controller/AlarmTask.java
src/main/java/net/cdkj/gjj/adapter/controller/AlarmTask.java
+4
-4
src/main/java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
.../java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
+5
-5
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
...java/net/cdkj/gjj/adapter/service/OpenAccountService.java
+1
-1
No files found.
src/main/java/net/cdkj/gjj/adapter/controller/AlarmTask.java
View file @
c80c1a51
...
...
@@ -38,7 +38,7 @@ public class AlarmTask {
*/
@Scheduled
(
initialDelay
=
5
*
1000
,
fixedDelayString
=
"${dwkhPullTaskDelay}"
)
public
void
dwkhPullTask
()
{
log
.
debug
(
"
第一个接口
开始时间:{}"
,
InternalUtils
.
getCurrentTime
());
log
.
debug
(
"
dwkhPullTask
开始时间:{}"
,
InternalUtils
.
getCurrentTime
());
try
{
openAccountService
.
syncDeptInfo
();
}
catch
(
Exception
e
)
{
...
...
@@ -53,8 +53,8 @@ public class AlarmTask {
*/
@Scheduled
(
initialDelay
=
20
*
1000
,
fixedDelayString
=
"${dwkhPushTaskDelay}"
)
public
void
dwkhPushTask
()
{
log
.
debug
(
"
第二个接口
开始时间:{}"
,
InternalUtils
.
getCurrentTime
());
openAccountService
.
dwkh
Push
();
log
.
debug
(
"
dwkhPushTask
开始时间:{}"
,
InternalUtils
.
getCurrentTime
());
openAccountService
.
openAccount
Push
();
}
@Scheduled
(
initialDelay
=
40
*
1000
,
fixedDelayString
=
"${dwxxbgPushTaskDelay}"
)
...
...
@@ -66,7 +66,7 @@ public class AlarmTask {
@Scheduled
(
initialDelay
=
80
*
1000
,
fixedDelayString
=
"${dwxhPushTaskDelay}"
)
public
void
dwxhPushTask
()
{
log
.
debug
(
"dwxhPushTask 开始时间:{}"
,
InternalUtils
.
getCurrentTime
());
deptLogoutService
.
d
wxh
Push
();
deptLogoutService
.
d
eptLogout
Push
();
}
}
...
...
src/main/java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
View file @
c80c1a51
...
...
@@ -118,9 +118,9 @@ public class DeptLogoutService {
* 住建部门返回公积金办理进度数据接口方法
* (第二个定时)
*/
public
String
d
wxh
Push
()
{
public
String
d
eptLogout
Push
()
{
// 调oracle存储过程拿到进度推进的数据集合
List
<
BusinessProcessing
>
collDwxhList
=
collD
wxh
();
List
<
BusinessProcessing
>
collDwxhList
=
collD
eptLogout
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"state"
,
"1"
);
if
(!
CollectionUtils
.
isEmpty
(
collDwxhList
))
{
...
...
@@ -142,7 +142,7 @@ public class DeptLogoutService {
String
uscc
=
!
CollectionUtils
.
isEmpty
(
collDwxhList
)
?
collDwxhList
.
get
(
0
).
getUscc
()
:
""
;
log
.
info
(
"入参 uscc:{} value:{}"
,
uscc
,
value
);
// 回写
collD
wxhHx
(
uscc
,
value
);
collD
eptLogoutRewrite
(
uscc
,
value
);
return
forObject
;
}
...
...
@@ -150,7 +150,7 @@ public class DeptLogoutService {
* 住建部门返回公积金办理进度数据接口方法
* 调用oracle存储过程拿到进度数据,然后请求前置机,让前置机请求市监接口,将办理的进度数据推送给市监
*/
public
List
<
BusinessProcessing
>
collD
wxh
()
{
public
List
<
BusinessProcessing
>
collD
eptLogout
()
{
List
<
BusinessProcessing
>
list
=
new
ArrayList
<>();
Connection
connection
=
null
;
CallableStatement
dwxhCx
=
null
;
...
...
@@ -221,7 +221,7 @@ public class DeptLogoutService {
/**
* 回写
*/
public
void
collD
wxhHx
(
String
uscc
,
Integer
value
)
{
public
void
collD
eptLogoutRewrite
(
String
uscc
,
Integer
value
)
{
Connection
connection
=
null
;
CallableStatement
pstm
=
null
;
// 1.调用oracle存储过程,拿到业务办理进度数据
...
...
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
View file @
c80c1a51
...
...
@@ -265,7 +265,7 @@ public class OpenAccountService {
* 住建部门返回公积金办理进度数据接口方法
* (第二个定时)
*/
public
String
dwkh
Push
()
{
public
String
openAccount
Push
()
{
logger
.
info
(
"调第二个接口了"
);
// 调oracle存储过程拿到进度推进的数据集合
List
<
BusinessProcessing
>
list
=
null
;
...
...
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