1.参数为Wapper的时候 mapper 中的写法 @Param(“ew”) Wrapper<实体类名> queryWrapper xml文件中直接 from 表名 ${ew.customSqlSegment}