spring-boot-realworld-examp.../src/main/java/io/spring/application/user/UserReadService.java

14 lines
299 B
Java
Raw Normal View History

2017-08-08 10:01:06 +07:00
package io.spring.application.user;
2017-08-15 09:47:18 +07:00
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
2017-08-08 10:01:06 +07:00
2017-08-15 09:47:18 +07:00
@Component
@Mapper
public interface UserReadService {
2017-08-08 10:01:06 +07:00
2017-08-15 09:47:18 +07:00
UserData findByUsername(@Param("username") String username);
2017-08-08 10:01:06 +07:00
}