zhanghua
2024-09-28 7873c6f56380d28e1ae6958f77a84081797c817f
ycl-common/src/main/java/com/ycl/controller/depart/DepartController.java
@@ -238,9 +238,10 @@
    @ApiOperation("查询部门二级")
    @GetMapping(value = "/query_father_children")
    public CommonResult search(@RequestParam Integer fatherId) {
    public CommonResult search(@RequestParam String fatherId) {
        long fatherIdLong = Long.parseLong(fatherId);
        return CommonResult.success(departService
                .list(new LambdaQueryWrapper<UmsDepart>()
                        .eq(UmsDepart::getParentId, fatherId)));
                        .eq(UmsDepart::getParentId, fatherIdLong)));
    }
}