Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Error: Method queryTotal execution error of sql :
SELECT COUNT(1) FROM ( SELECT * FROM (select pp.cover,pp.name,pp.code,pp.description,pp.access_control_type,pp.white_list,pp.order,pp.deleted,pp.template_code,pp.schedule,pp.create_time,pp.organization_code,pp.deleted_time,pp.private privated, pp.prefix, pp.open_prefix, pp.archive, pp.archive_time, pp.open_begin_time,pp.open_task_private,pp.task_board_theme,pp.begin_time,pp.end_time,pp.auto_update_schedule,pm.id,pm.project_code,pm.member_code from team_project as pp left join team_project_member as pm on pm.project_code = pp.code where pp.organization_code = '6v7be19pwman2fird04gqu53' and (pm.member_code = '6v7be19pwman2fird04gqu53' or pp.private = 0) and pp.deleted = 0 group by pp.code order by pp.id desc) obj ) TOTAL