Notice
Recent Posts
Recent Comments
Link
목록T (1)
개발 무지렁이
[Spring Boot] 결과보고서 RsData
[dto.RsData.java] @AllArgsConstructor @Getter @ToString public class RsData { private final String resultCode; private final String msg; private final T body; public boolean isSuccess() { return resultCode.startsWith("S-"); } public boolean isFail() { return isSuccess() == false; } } [GenFileService.java] @Service @RequiredArgsConstructor public class GenFileService { private final GenFileReposi..
Backend/스프링부트
2022. 12. 29. 19:24