Skip to content

mapper 中定义CrudRepository中没有的方法可以吗 #2

Description

我写的报这个

Caused by: org.springframework.beans.factory.BeanCreationException: 
    Error creating bean with name 'todoMapper' defined in io.gitee.n__n.mapper.TodoMapper defined in @EnableJdbcRepositories declared on MyBatisJdbcConfig: 
    Invocation of init method failed; nested exception is org.springframework.data.repository.query.QueryCreationException: Could not create query for public abstract java.lang.String io.gitee.n__n.mapper.TodoMapper.selectActionById()! 
   Reason: No property selectActionById found for type Todo!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions