adapter객체 못찾오는 부분 수정

This commit is contained in:
jaewohong
2025-11-25 16:15:28 +09:00
parent 1815e7a4b7
commit 643e15c376
3 changed files with 17 additions and 0 deletions
@@ -6,9 +6,17 @@ import org.springframework.transaction.annotation.Transactional;
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
import com.eactive.eai.data.jpa.AbstractDataLoader;
import java.util.Optional;
@Service
@Transactional
public class StandardMessageInfoLoader
extends AbstractDataLoader<StandardMessageInfo, String, StandardMessageInfoLoaderRepository> {
// jwhong 추가
//Optional<StandardMessageInfo> findByApiFullPath(String apiFullPath);
public Optional<StandardMessageInfo> findByApiFullPath(String apiFullPath) {
return repository.findByApiFullPath(apiFullPath);
}
}
@@ -4,6 +4,10 @@ import com.eactive.eai.data.DataLoaderRepository;
import com.eactive.eai.data.entity.onl.stdmessage.StandardMessageInfo;
import com.eactive.eai.data.jpa.BaseRepository;
import java.util.Optional;
interface StandardMessageInfoLoaderRepository
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)
@Comment("수정상태구분코드")
private String modfimgtstusdstcd;
// jwhong 추가
@Column(length = 50,unique = true)
@Comment("인터페이스URL Full Path")
private String apiFullPath;
@Column(length = 17)
@Comment("최종수정시간")