adapter객체 못찾오는 부분 수정
This commit is contained in:
@@ -6,9 +6,17 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
|
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
|
||||||
import com.eactive.eai.data.jpa.AbstractDataLoader;
|
import com.eactive.eai.data.jpa.AbstractDataLoader;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
@Transactional
|
@Transactional
|
||||||
public class StandardMessageInfoLoader
|
public class StandardMessageInfoLoader
|
||||||
extends AbstractDataLoader<StandardMessageInfo, String, StandardMessageInfoLoaderRepository> {
|
extends AbstractDataLoader<StandardMessageInfo, String, StandardMessageInfoLoaderRepository> {
|
||||||
|
|
||||||
|
// jwhong 추가
|
||||||
|
//Optional<StandardMessageInfo> findByApiFullPath(String apiFullPath);
|
||||||
|
public Optional<StandardMessageInfo> findByApiFullPath(String apiFullPath) {
|
||||||
|
return repository.findByApiFullPath(apiFullPath);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+4
@@ -4,6 +4,10 @@ import com.eactive.eai.data.DataLoaderRepository;
|
|||||||
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
|
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
|
||||||
import com.eactive.eai.data.jpa.BaseRepository;
|
import com.eactive.eai.data.jpa.BaseRepository;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
interface StandardMessageInfoLoaderRepository
|
interface StandardMessageInfoLoaderRepository
|
||||||
extends DataLoaderRepository<StandardMessageInfo>, BaseRepository<StandardMessageInfo, String> {
|
extends DataLoaderRepository<StandardMessageInfo>, BaseRepository<StandardMessageInfo, String> {
|
||||||
|
// jwhong 추가
|
||||||
|
Optional<StandardMessageInfo> findByApiFullPath(String apiFullPath);
|
||||||
}
|
}
|
||||||
@@ -59,6 +59,11 @@ public class StandardMessageInfo extends AbstractEntity<String> implements Seria
|
|||||||
@Column(length = 1)
|
@Column(length = 1)
|
||||||
@Comment("수정상태구분코드")
|
@Comment("수정상태구분코드")
|
||||||
private String modfimgtstusdstcd;
|
private String modfimgtstusdstcd;
|
||||||
|
|
||||||
|
// jwhong 추가
|
||||||
|
@Column(length = 50,unique = true)
|
||||||
|
@Comment("인터페이스URL Full Path")
|
||||||
|
private String apiFullPath;
|
||||||
|
|
||||||
@Column(length = 17)
|
@Column(length = 17)
|
||||||
@Comment("최종수정시간")
|
@Comment("최종수정시간")
|
||||||
|
|||||||
Reference in New Issue
Block a user