Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
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
haoban3.0
haoban-manage3.0
Commits
b0071dbd
Commit
b0071dbd
authored
Apr 14, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://115.159.76.241/haoban3.0/haoban-manage3.0.git
into developer
parents
b4647506
d0bac6c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
DealSyncOperationApiServiceImpl.java
...ice/service/out/impl/DealSyncOperationApiServiceImpl.java
+5
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/DealSyncOperationApiServiceImpl.java
View file @
b0071dbd
...
...
@@ -182,8 +182,11 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
editList
.
forEach
(
syncSingleDealDTO
->
{
// TODO: 2020/4/9 需要优化
TabHaobanDepartment
department
=
departmentService
.
selectById
(
syncSingleDealDTO
.
getDepartmentId
());
department
.
setParentDepartmentId
(
syncSingleDealDTO
.
getParentDepartmentId
());
departmentApiService
.
edit
(
EntityUtil
.
changeEntityByJSON
(
DepartmentDTO
.
class
,
department
));
if
(!
department
.
getParentDepartmentId
().
equals
(
syncSingleDealDTO
.
getParentDepartmentId
()))
{
department
.
setParentDepartmentId
(
syncSingleDealDTO
.
getParentDepartmentId
());
departmentApiService
.
edit
(
EntityUtil
.
changeEntityByJSON
(
DepartmentDTO
.
class
,
department
));
}
});
}
...
...
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