代码示例如下:

@InterceptorIgnore(tenantLine = "1")
public
interface UserMapper extends BaseMapper<User> { @Select("SELECT * FROM user ${ew.customSqlSegment}") List<User> selectUsers(@Param(Constants.WRAPPER) Wrapper<User> wrapper); }

 

posted on 2023-06-12 15:05  张释文  阅读(223)  评论(0编辑  收藏  举报