is not mapped [delete from xx r where r.id in (?1)] 问题原因: is not mapped [delete from xx r where r.id in (?1)] xx写成表名了 解决方案 xx更改为实体名称比如User