Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
4ee4598c
Commit
4ee4598c
authored
Jun 07, 2016
by
lepdou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ea20fad0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
AppController.java
...amework/apollo/adminservice/controller/AppController.java
+0
-1
AppNamespaceController.java
...pollo/adminservice/controller/AppNamespaceController.java
+0
-1
No files found.
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppController.java
View file @
4ee4598c
...
@@ -33,7 +33,6 @@ public class AppController {
...
@@ -33,7 +33,6 @@ public class AppController {
App
entity
=
BeanUtils
.
transfrom
(
App
.
class
,
dto
);
App
entity
=
BeanUtils
.
transfrom
(
App
.
class
,
dto
);
App
managedEntity
=
appService
.
findOne
(
entity
.
getAppId
());
App
managedEntity
=
appService
.
findOne
(
entity
.
getAppId
());
if
(
managedEntity
!=
null
)
{
if
(
managedEntity
!=
null
)
{
managedEntity
.
setDataChangeLastModifiedBy
(
entity
.
getDataChangeLastModifiedBy
());
BeanUtils
.
copyEntityProperties
(
entity
,
managedEntity
);
BeanUtils
.
copyEntityProperties
(
entity
,
managedEntity
);
entity
=
appService
.
update
(
managedEntity
);
entity
=
appService
.
update
(
managedEntity
);
}
else
{
}
else
{
...
...
apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/AppNamespaceController.java
View file @
4ee4598c
...
@@ -39,7 +39,6 @@ public class AppNamespaceController {
...
@@ -39,7 +39,6 @@ public class AppNamespaceController {
AppNamespace
managedEntity
=
appNamespaceService
.
findOne
(
entity
.
getAppId
(),
entity
.
getName
());
AppNamespace
managedEntity
=
appNamespaceService
.
findOne
(
entity
.
getAppId
(),
entity
.
getName
());
if
(
managedEntity
!=
null
){
if
(
managedEntity
!=
null
){
managedEntity
.
setDataChangeLastModifiedBy
(
entity
.
getDataChangeLastModifiedBy
());
BeanUtils
.
copyEntityProperties
(
entity
,
managedEntity
);
BeanUtils
.
copyEntityProperties
(
entity
,
managedEntity
);
entity
=
appNamespaceService
.
update
(
managedEntity
);
entity
=
appNamespaceService
.
update
(
managedEntity
);
}
else
{
}
else
{
...
...
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