2017-08-18 16:08:27 +07:00
|
|
|
package io.spring.infrastructure.mybatis.readservice;
|
2017-08-08 10:01:06 +07:00
|
|
|
|
2017-08-18 16:08:27 +07:00
|
|
|
import io.spring.application.data.UserData;
|
2017-08-15 09:47:18 +07:00
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
2017-08-08 10:01:06 +07:00
|
|
|
|
2017-08-15 09:47:18 +07:00
|
|
|
@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-18 16:08:27 +07:00
|
|
|
|
|
|
|
UserData findById(@Param("id") String id);
|
2017-08-08 10:01:06 +07:00
|
|
|
}
|
|
|
|
|