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
96301bc2
Commit
96301bc2
authored
Feb 01, 2024
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手动控制数据类型
parent
53171377
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
...java/net/cdkj/gjj/adapter/service/OpenAccountService.java
+8
-3
src/main/resources/application.properties
src/main/resources/application.properties
+1
-0
No files found.
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
View file @
96301bc2
...
...
@@ -50,6 +50,9 @@ public class OpenAccountService {
@Value
(
"${businessProcessing}"
)
private
String
businessProcessing
;
@Value
(
"${manualDataStatus:}"
)
private
String
manualDataStatus
;
@Value
(
"${timetype}"
)
private
String
timetype
;
...
...
@@ -75,8 +78,8 @@ public class OpenAccountService {
jsonObject
.
put
(
"app_secret"
,
"9a31b84878654a72a999e38ef55aa186"
);
String
str
=
jsonObject
.
toString
();
// 发起 post 请求
String
result
=
HttpUtil
.
sendPost
(
providentFundServices
,
str
);
//
String result = mockDwxxHttp();
//
String result = HttpUtil.sendPost(providentFundServices, str);
String
result
=
mockDwxxHttp
();
logger
.
info
(
"拿到第一个接口返回的第三方数据,准备调第一个存储过程"
+
result
);
Json
jsonentity
=
JSONObject
.
parseObject
(
result
,
Json
.
class
);
...
...
@@ -88,6 +91,9 @@ public class OpenAccountService {
List
<
UnitAccountOpeningInformation
>
deptInfoUpdateList
=
new
ArrayList
<>();
List
<
UnitAccountOpeningInformation
>
deptLogoutList
=
new
ArrayList
<>();
for
(
UnitAccountOpeningInformation
bill
:
bills
)
{
if
(!
StringUtils
.
isEmpty
(
manualDataStatus
))
{
bill
.
setData_status
(
manualDataStatus
);
}
String
dataStatus
=
bill
.
getData_status
();
// 开户
if
(
StringUtils
.
isEmpty
(
dataStatus
)
||
dataStatus
.
equals
(
"0"
))
{
...
...
@@ -398,7 +404,6 @@ public class OpenAccountService {
}
/**
* 模拟数据
*
...
...
src/main/resources/application.properties
View file @
96301bc2
...
...
@@ -29,6 +29,7 @@ providentFundServices:http://127.0.0.1:8081/FrontEndProcessor/ProvidentFundServi
#办理进度推送url
businessProcessing
:
http://127.0.0.1:8081/FrontEndProcessor/BusinessProcessing
manualDataStatus
:
2
...
...
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