left join ( select problem_id, count(*) problemCount from tab_problem_reply where status <> 0 GROUP BY problem_id ) t3 on t1.problem_id = t3.problem_id
left join ( select problem_id, count(*) problemCount from tab_problem_reply where delete_flag <> 1 GROUP BY problem_id ) t3 on t1.problem_id = t3.problem_id