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
19bb4439
Commit
19bb4439
authored
Nov 09, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加站点返回提示信息
parent
f4714dfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
...als/xhx/module/matter/service/impl/MatterServiceImpl.java
+0
-1
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
...a/com/mortals/xhx/module/matter/web/MatterController.java
+2
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/service/impl/MatterServiceImpl.java
View file @
19bb4439
...
@@ -124,7 +124,6 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
...
@@ -124,7 +124,6 @@ public class MatterServiceImpl extends AbstractCRUDCacheServiceImpl<MatterDao, M
int
success
=
0
;
int
success
=
0
;
int
fail
=
0
;
int
fail
=
0
;
for
(
MatterEntity
matterEntity
:
matterEntities
)
{
for
(
MatterEntity
matterEntity
:
matterEntities
)
{
Boolean
bool
=
updateOrSave
(
matterEntity
,
siteId
,
context
);
Boolean
bool
=
updateOrSave
(
matterEntity
,
siteId
,
context
);
if
(
bool
)
{
if
(
bool
)
{
...
...
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
View file @
19bb4439
...
@@ -112,9 +112,10 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
...
@@ -112,9 +112,10 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
try
{
try
{
Rest
<
String
>
rest
=
this
.
service
.
addMatterToSite
(
matterIds
,
siteId
,
getContext
());
Rest
<
String
>
rest
=
this
.
service
.
addMatterToSite
(
matterIds
,
siteId
,
getContext
());
jsonObject
.
put
(
KEY_RESULT_MSG
,
rest
.
get
Data
());
jsonObject
.
put
(
KEY_RESULT_MSG
,
rest
.
get
Msg
());
jsonObject
.
put
(
KEY_RESULT_DATA
,
model
);
jsonObject
.
put
(
KEY_RESULT_DATA
,
model
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_SUCCESS
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_SUCCESS
);
this
.
recordSysLog
(
this
.
request
,
rest
.
getMsg
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"获取异常"
,
e
);
log
.
error
(
"获取异常"
,
e
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
...
...
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