17 lines
409 B
Java
17 lines
409 B
Java
package io.spring.infrastructure.mybatis.readservice;
|
|
|
|
import io.spring.application.data.UserData;
|
|
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);
|
|
|
|
UserData findById(@Param("id") String id);
|
|
}
|
|
|