fzzy-igdss-web/src/main/java/com/fzzy/sys/controller/system/SysDeptNewController.java
@@ -1,6 +1,7 @@
package com.fzzy.sys.controller.system;
import com.fzzy.igds.constant.Constant;
import com.fzzy.igds.domain.Dept;
import com.fzzy.igds.service.CoreCompanyService;
import com.fzzy.igds.service.CoreDeptService;
import com.ruoyi.common.annotation.Log;
@@ -52,6 +53,13 @@
        return deptList;
    }
    @PostMapping("/getDeptByUserType")
    @ResponseBody
    public List<Dept> getDeptByUserType(@RequestBody String parentId) {
        List<Dept> deptByUserType = coreDeptService.getDeptByUserType(parentId);
        return deptByUserType;
    }
    /**
     * 新增部门
     */