class ProjectController {

    @RequestMapping(value = "/list", method = RequestMethod.POST)
    public ServiceResult<ListResult<ProjectView>> getGroupUsers(@RequestBody Paging<ProjectModel> paging, @CurrentUser LoginUser user) throws SQLException {
        if (null == paging.getData().getDal_group_id() || paging.getData().getDal_group_id() == 0) {
            if (permissionService.isManagerById(user.getId())) {
                return ServiceResult.success(projectService.findProjectPageList(paging));
            } else {
                return ServiceResult.success(ListResult.builder().list(ListUtils.EMPTY_LIST).build());
            }
        } else if (-1 == paging.getData().getDal_group_id()) {

        }
        return ServiceResult.success(projectService.findProjectPageList(paging));
    }

}