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
3e8ff661
Commit
3e8ff661
authored
Nov 27, 2024
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
市监局单位变更、单位注销入参调整
parent
3ce6d9bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
src/main/java/net/cdkj/gjj/adapter/service/DeptInfoUpdateService.java
...a/net/cdkj/gjj/adapter/service/DeptInfoUpdateService.java
+6
-4
src/main/java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
.../java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
+6
-4
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
...java/net/cdkj/gjj/adapter/service/OpenAccountService.java
+8
-8
No files found.
src/main/java/net/cdkj/gjj/adapter/service/DeptInfoUpdateService.java
View file @
3e8ff661
...
@@ -46,7 +46,7 @@ public class DeptInfoUpdateService {
...
@@ -46,7 +46,7 @@ public class DeptInfoUpdateService {
*
*
* @return
* @return
*/
*/
public
void
deptInfoUpdatePull
(
List
<
UnitAccountOpeningInformation
>
bills
)
{
public
void
deptInfoUpdatePull
(
String
startTime
,
List
<
UnitAccountOpeningInformation
>
bills
)
{
if
(
CollectionUtils
.
isEmpty
(
bills
))
{
if
(
CollectionUtils
.
isEmpty
(
bills
))
{
return
;
return
;
}
}
...
@@ -64,11 +64,13 @@ public class DeptInfoUpdateService {
...
@@ -64,11 +64,13 @@ public class DeptInfoUpdateService {
if
(
StringUtils
.
isEmpty
(
uniInfom
.
getOplocdistrict
()))
{
if
(
StringUtils
.
isEmpty
(
uniInfom
.
getOplocdistrict
()))
{
continue
;
continue
;
}
}
// 业务标识
//
统一社会信用、
业务标识
String
busId
=
StringUtils
.
hasText
(
uniInfom
.
getBusId
())
?
uniInfom
.
getBusId
()
:
""
;
String
busId
=
StringUtils
.
hasText
(
uniInfom
.
getBusId
())
?
uniInfom
.
getBusId
()
:
""
;
dwxxbgImp
.
setString
(
1
,
busId
);
// 统一社会信用
String
uscc
=
StringUtils
.
hasText
(
uniInfom
.
getUscc
())
?
uniInfom
.
getUscc
()
:
""
;
String
uscc
=
StringUtils
.
hasText
(
uniInfom
.
getUscc
())
?
uniInfom
.
getUscc
()
:
""
;
if
(
StringUtils
.
isEmpty
(
busId
))
{
busId
=
uscc
+
startTime
.
substring
(
0
,
8
);
}
dwxxbgImp
.
setString
(
1
,
busId
);
dwxxbgImp
.
setString
(
2
,
uscc
);
dwxxbgImp
.
setString
(
2
,
uscc
);
// 企业名称
// 企业名称
String
entName
=
StringUtils
.
hasText
(
uniInfom
.
getEntName
())
?
uniInfom
.
getEntName
()
:
""
;
String
entName
=
StringUtils
.
hasText
(
uniInfom
.
getEntName
())
?
uniInfom
.
getEntName
()
:
""
;
...
...
src/main/java/net/cdkj/gjj/adapter/service/DeptLogoutService.java
View file @
3e8ff661
...
@@ -45,7 +45,7 @@ public class DeptLogoutService {
...
@@ -45,7 +45,7 @@ public class DeptLogoutService {
*
*
* @return
* @return
*/
*/
public
void
deptLogoutPull
(
List
<
UnitAccountOpeningInformation
>
bills
)
{
public
void
deptLogoutPull
(
String
startTime
,
List
<
UnitAccountOpeningInformation
>
bills
)
{
if
(
CollectionUtils
.
isEmpty
(
bills
))
{
if
(
CollectionUtils
.
isEmpty
(
bills
))
{
return
;
return
;
}
}
...
@@ -63,11 +63,13 @@ public class DeptLogoutService {
...
@@ -63,11 +63,13 @@ public class DeptLogoutService {
if
(
StringUtils
.
isEmpty
(
uniInfom
.
getOplocdistrict
()))
{
if
(
StringUtils
.
isEmpty
(
uniInfom
.
getOplocdistrict
()))
{
continue
;
continue
;
}
}
// 业务标识
// 业务标识
、统一社会信用
String
busId
=
StringUtils
.
hasText
(
uniInfom
.
getBusId
())
?
uniInfom
.
getBusId
()
:
""
;
String
busId
=
StringUtils
.
hasText
(
uniInfom
.
getBusId
())
?
uniInfom
.
getBusId
()
:
""
;
dwxhImp
.
setString
(
1
,
busId
);
// 统一社会信用
String
uscc
=
StringUtils
.
hasText
(
uniInfom
.
getUscc
())
?
uniInfom
.
getUscc
()
:
""
;
String
uscc
=
StringUtils
.
hasText
(
uniInfom
.
getUscc
())
?
uniInfom
.
getUscc
()
:
""
;
if
(
StringUtils
.
isEmpty
(
busId
))
{
busId
=
uscc
+
startTime
.
substring
(
0
,
8
);
}
dwxhImp
.
setString
(
1
,
busId
);
dwxhImp
.
setString
(
2
,
uscc
);
dwxhImp
.
setString
(
2
,
uscc
);
// 企业名称
// 企业名称
String
entName
=
StringUtils
.
hasText
(
uniInfom
.
getEntName
())
?
uniInfom
.
getEntName
()
:
""
;
String
entName
=
StringUtils
.
hasText
(
uniInfom
.
getEntName
())
?
uniInfom
.
getEntName
()
:
""
;
...
...
src/main/java/net/cdkj/gjj/adapter/service/OpenAccountService.java
View file @
3e8ff661
...
@@ -67,13 +67,13 @@ public class OpenAccountService {
...
@@ -67,13 +67,13 @@ public class OpenAccountService {
*/
*/
public
void
syncDeptInfo
()
throws
Exception
{
public
void
syncDeptInfo
()
throws
Exception
{
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
if
(
"1"
.
equals
(
timetype
))
{
// 表示正式环境
// 表示正式环境
jsonObject
.
put
(
"startTime"
,
InternalUtils
.
currentTime
(
0
));
// 正式环境
if
(
"1"
.
equals
(
timetype
))
{
jsonObject
.
put
(
"endTime"
,
InternalUtils
.
currentTime
(
24
));
// 正式环境
startTime
=
InternalUtils
.
currentTime
(
0
);
}
else
if
(
"2"
.
equals
(
timetype
))
{
// 表示测试环境或本地环境
endTime
=
InternalUtils
.
currentTime
(
24
);
jsonObject
.
put
(
"startTime"
,
startTime
);
// 测试环境或本地环境
jsonObject
.
put
(
"endTime"
,
endTime
);
// 测试环境或本地环境
}
}
jsonObject
.
put
(
"startTime"
,
startTime
);
jsonObject
.
put
(
"endTime"
,
endTime
);
jsonObject
.
put
(
"app_id"
,
"eb453ca78b354f2c9163a703530f5186"
);
jsonObject
.
put
(
"app_id"
,
"eb453ca78b354f2c9163a703530f5186"
);
jsonObject
.
put
(
"app_secret"
,
"9a31b84878654a72a999e38ef55aa186"
);
jsonObject
.
put
(
"app_secret"
,
"9a31b84878654a72a999e38ef55aa186"
);
String
str
=
jsonObject
.
toString
();
String
str
=
jsonObject
.
toString
();
...
@@ -107,8 +107,8 @@ public class OpenAccountService {
...
@@ -107,8 +107,8 @@ public class OpenAccountService {
}
}
}
}
openAccountPull
(
openAccountList
);
openAccountPull
(
openAccountList
);
deptInfoUpdateService
.
deptInfoUpdatePull
(
deptInfoUpdateList
);
deptInfoUpdateService
.
deptInfoUpdatePull
(
startTime
,
deptInfoUpdateList
);
deptLogoutService
.
deptLogoutPull
(
deptLogoutList
);
deptLogoutService
.
deptLogoutPull
(
startTime
,
deptLogoutList
);
}
}
/**
/**
...
...
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