Commit 9b1f5c5c by qwmqiuwenmin

fix

parent ee38d2d3
...@@ -24,6 +24,7 @@ import com.gic.haoban.manage.api.service.DepartmentApiService; ...@@ -24,6 +24,7 @@ import com.gic.haoban.manage.api.service.DepartmentApiService;
import com.gic.haoban.manage.service.dao.mapper.DepartmentMapper; import com.gic.haoban.manage.service.dao.mapper.DepartmentMapper;
import com.gic.haoban.manage.service.entity.TabHaobanDepartment; import com.gic.haoban.manage.service.entity.TabHaobanDepartment;
import com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated; import com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated;
import com.gic.haoban.manage.service.entity.TabHaobanWxEnterpriseRelated;
import com.gic.haoban.manage.service.service.DepartmentService; import com.gic.haoban.manage.service.service.DepartmentService;
import com.gic.haoban.manage.service.service.StaffDepartmentRelatedService; import com.gic.haoban.manage.service.service.StaffDepartmentRelatedService;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
...@@ -44,6 +45,7 @@ public class DepartmentApiServiceImpl implements DepartmentApiService { ...@@ -44,6 +45,7 @@ public class DepartmentApiServiceImpl implements DepartmentApiService {
@Autowired @Autowired
private com.gic.enterprise.api.service.DepartmentService gicDepartmentService; private com.gic.enterprise.api.service.DepartmentService gicDepartmentService;
@Override @Override
public List<DepartmentDTO> listByParentId(String parentId) { public List<DepartmentDTO> listByParentId(String parentId) {
List<TabHaobanDepartment> list = departmentService.listByParentId(parentId); List<TabHaobanDepartment> list = departmentService.listByParentId(parentId);
...@@ -212,8 +214,8 @@ public class DepartmentApiServiceImpl implements DepartmentApiService { ...@@ -212,8 +214,8 @@ public class DepartmentApiServiceImpl implements DepartmentApiService {
if(status != null && status == 2) { if(status != null && status == 2) {
DepartmentDTO parent = getParent(departmentId); DepartmentDTO parent = getParent(departmentId);
if(parent == null) { if(parent == null) {
// WxEen TabHaobanWxEnterpriseRelated tab = null;
// parent = getRootByEnterpriseId(wxEnterpriseId); //parent = getRootByEnterpriseId(wxEnterpriseId);
} }
} }
} }
......
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