class CodeController {

    @RequestMapping(value = "/count")
    public ServiceResult countProject(@RequestParam(value = "projectId", defaultValue = "0") Long projectId) throws SQLException {
        Boolean bool = codeService.isTaskCountByProjectId(projectId);
        return ServiceResult.success(bool);
    }

}