Commit d0ae2cbb by fudahua

同步优化初步3-同步成员

parent 4980433b
...@@ -527,7 +527,10 @@ public class DepartmentContoller extends WebBaseController{ ...@@ -527,7 +527,10 @@ public class DepartmentContoller extends WebBaseController{
for (GicTreeDTO departmentDTO : departmentList) { for (GicTreeDTO departmentDTO : departmentList) {
DepartmentDTO dto = departmentApiService.selectByRelatedId(departmentDTO.getId()); DepartmentDTO dto = departmentApiService.selectByRelatedId(departmentDTO.getId());
if(dto == null) { if(dto == null) {
DepartmentDTO unBindDTO = new DepartmentDTO(); if (dto.getType() == 1) {
continue;
}
DepartmentDTO unBindDTO = new DepartmentDTO();
unBindDTO.setRelatedId(departmentDTO.getId()); unBindDTO.setRelatedId(departmentDTO.getId());
Integer storeType = departmentDTO.getType(); Integer storeType = departmentDTO.getType();
if(storeType == 3){ if(storeType == 3){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment