Commit bd29e577 by qwmqiuwenmin

fix

parent 9fe30237
...@@ -33,7 +33,7 @@ public class DepartmentContoller extends WebBaseController{ ...@@ -33,7 +33,7 @@ public class DepartmentContoller extends WebBaseController{
@RequestMapping("department-list") @RequestMapping("department-list")
public HaobanResponse departmentList(String parentId) { public HaobanResponse departmentList(String parentId) {
LoginVO login = (LoginVO) AuthRequestUtil.getAppLoginUser(); LoginVO login = (LoginVO) AuthRequestUtil.getSessionUser();
String wxEnterpriseId = login.getWxEnterpriseId(); String wxEnterpriseId = login.getWxEnterpriseId();
List<DepartmentDTO> list = departmentApiService.listByParentId(parentId); List<DepartmentDTO> list = departmentApiService.listByParentId(parentId);
if(StringUtils.isNotBlank(parentId)) { if(StringUtils.isNotBlank(parentId)) {
......
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