Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
cbcc4f75
Commit
cbcc4f75
authored
Nov 15, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加站点政务同步接口
parent
833ba35c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
base-manager/pom.xml
base-manager/pom.xml
+1
-1
base-manager/src/main/java/com/mortals/xhx/common/utils/SyncGovMatterDetailThread.java
...m/mortals/xhx/common/utils/SyncGovMatterDetailThread.java
+3
-0
No files found.
base-manager/pom.xml
View file @
cbcc4f75
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.path>
/home/mortals/app/logs
</profiles.log.path>
<profiles.log.level>
INFO
</profiles.log.level>
<profiles.log.level>
INFO
</profiles.log.level>
<package.environment>
test
</package.environment>
<package.environment>
test
</package.environment>
<skipDeploy>
tru
e
</skipDeploy>
<skipDeploy>
fals
e
</skipDeploy>
</properties>
</properties>
</profile>
</profile>
<profile>
<profile>
...
...
base-manager/src/main/java/com/mortals/xhx/common/utils/SyncGovMatterDetailThread.java
View file @
cbcc4f75
package
com.mortals.xhx.common.utils
;
package
com.mortals.xhx.common.utils
;
import
com.alibaba.fastjson.JSON
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.Context
;
import
com.mortals.xhx.common.code.SourceEnum
;
import
com.mortals.xhx.common.code.SourceEnum
;
...
@@ -36,6 +37,8 @@ public class SyncGovMatterDetailThread implements Runnable {
...
@@ -36,6 +37,8 @@ public class SyncGovMatterDetailThread implements Runnable {
Rest
<
String
>
deptRest
=
deptService
.
syncDeptBySiteId
(
siteEntity
.
getId
(),
context
);
Rest
<
String
>
deptRest
=
deptService
.
syncDeptBySiteId
(
siteEntity
.
getId
(),
context
);
Rest
<
String
>
rest
=
siteService
.
syncMatterBySiteId
(
siteEntity
.
getId
(),
context
);
Rest
<
String
>
rest
=
siteService
.
syncMatterBySiteId
(
siteEntity
.
getId
(),
context
);
log
.
info
(
"syncMatterBySiteId:"
+
JSON
.
toJSONString
(
rest
));
if
(
rest
.
getCode
()==
YesNoEnum
.
YES
.
getValue
()){
if
(
rest
.
getCode
()==
YesNoEnum
.
YES
.
getValue
()){
List
<
MatterEntity
>
matterEntityList
=
matterService
.
find
(
new
MatterQuery
().
areaCode
(
siteEntity
.
getAreaCode
()).
haveGetMatterInfo
(
"false"
).
source
(
SourceEnum
.
政务网
.
getValue
()));
List
<
MatterEntity
>
matterEntityList
=
matterService
.
find
(
new
MatterQuery
().
areaCode
(
siteEntity
.
getAreaCode
()).
haveGetMatterInfo
(
"false"
).
source
(
SourceEnum
.
政务网
.
getValue
()));
matterEntityList
.
parallelStream
().
forEach
(
matterEntity
->
{
matterEntityList
.
parallelStream
().
forEach
(
matterEntity
->
{
...
...
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