spring-boot-realworld-examp.../src/main/java/io/spring/application/user/UserReadService.java
2017-08-15 10:47:18 +08:00

14 lines
299 B
Java

package io.spring.application.user;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface UserReadService {
UserData findByUsername(@Param("username") String username);
}