Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
base-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
赵啸非
base-platform
Commits
cf1dd547
Commit
cf1dd547
authored
Apr 06, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加事项同步数据
parent
a0e19894
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+11
-11
base-manager/src/main/resources/bootstrap.yml
base-manager/src/main/resources/bootstrap.yml
+2
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
cf1dd547
...
@@ -255,13 +255,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -255,13 +255,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try
{
try
{
root
=
JSON
.
parseObject
(
sqclJson
);
root
=
JSON
.
parseObject
(
sqclJson
);
}
catch
(
Exception
e1
)
{
}
catch
(
Exception
e1
)
{
log
.
error
(
"error json:"
+
sqclJson
);
//
log.error("error json:" + sqclJson);
return
;
return
;
}
}
}
}
if
(
root
.
isEmpty
())
{
if
(
root
.
isEmpty
())
{
log
.
info
(
"root is null"
);
//
log.info("root is null");
return
;
return
;
}
}
JSONArray
jsonArray
=
null
;
JSONArray
jsonArray
=
null
;
...
@@ -360,13 +360,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -360,13 +360,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try
{
try
{
root
=
JSON
.
parseObject
(
sltjJson
);
root
=
JSON
.
parseObject
(
sltjJson
);
}
catch
(
Exception
e1
)
{
}
catch
(
Exception
e1
)
{
log
.
error
(
"error json:"
+
sltjJson
);
//
log.error("error json:" + sltjJson);
return
;
return
;
}
}
}
}
if
(
root
.
isEmpty
())
{
if
(
root
.
isEmpty
())
{
log
.
info
(
"root is null"
);
//
log.info("root is null");
return
;
return
;
}
}
...
@@ -399,13 +399,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -399,13 +399,13 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try
{
try
{
root
=
JSON
.
parseObject
(
sfbzJson
);
root
=
JSON
.
parseObject
(
sfbzJson
);
}
catch
(
Exception
e1
)
{
}
catch
(
Exception
e1
)
{
log
.
error
(
"error json:"
+
sfbzJson
);
//
log.error("error json:" + sfbzJson);
return
;
return
;
}
}
}
}
if
(
root
.
isEmpty
())
{
if
(
root
.
isEmpty
())
{
log
.
info
(
"root is null"
);
//
log.info("root is null");
return
;
return
;
}
}
...
@@ -439,24 +439,24 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -439,24 +439,24 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
try
{
try
{
root
=
JSON
.
parseObject
(
cjwtJson
);
root
=
JSON
.
parseObject
(
cjwtJson
);
}
catch
(
Exception
e1
)
{
}
catch
(
Exception
e1
)
{
log
.
error
(
"error json:"
+
cjwtJson
);
//
log.error("error json:" + cjwtJson);
return
;
return
;
}
}
}
}
if
(
root
.
isEmpty
())
{
if
(
root
.
isEmpty
())
{
log
.
info
(
"root is null"
);
//
log.info("root is null");
return
;
return
;
}
}
JSONArray
jsonArray
=
null
;
JSONArray
jsonArray
=
null
;
try
{
try
{
jsonArray
=
root
.
getJSONArray
(
"常见问题"
);
jsonArray
=
root
.
getJSONArray
(
"常见问题"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"error 无常见问题"
);
//
log.error("error 无常见问题");
}
}
if
(
ObjectUtils
.
isEmpty
(
jsonArray
))
{
if
(
ObjectUtils
.
isEmpty
(
jsonArray
))
{
log
.
info
(
"常见问题 is null"
);
//
log.info("常见问题 is null");
return
;
return
;
}
}
...
@@ -496,7 +496,7 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -496,7 +496,7 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
}
}
if
(
root
==
null
||
root
.
isEmpty
())
{
if
(
root
==
null
||
root
.
isEmpty
())
{
log
.
info
(
"root is null"
);
//
log.info("root is null");
return
;
return
;
}
}
JSONArray
jsonArray
=
null
;
JSONArray
jsonArray
=
null
;
...
...
base-manager/src/main/resources/bootstrap.yml
View file @
cf1dd547
server
:
server
:
port
:
@
profiles.server.port@
port
:
@
profiles.server.port@
#
servlet:
servlet
:
# context-path: /m
context-path
:
/zwfw
spring
:
spring
:
application
:
application
:
name
:
base-manager
name
:
base-manager
...
...
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