分组查询 select id,count(*) from a where id in(?) and create_time>'2023-02-22 00:00:00' group by id having count(*)>1;