bugfix - 스케줄러 목록 조회시 유니크 오류 수정

This commit is contained in:
Rinjae
2025-10-14 16:54:52 +09:00
parent 6b859e052e
commit ff4509a4d2
2 changed files with 8 additions and 2 deletions
+6 -1
View File
@@ -58,4 +58,9 @@ eLink 모듈을 참조하여 구성되어있으며, 추후 필요 모듈외에
gradle build -x test -Pprofile=weblogic gradle build -x test -Pprofile=weblogic
``` ```
- -Pprofile=weblogic 사용시 weblogic-web.xml 을 web.xml 로 사용 (DefaultServlet 이슈) - -Pprofile=weblogic 사용시 weblogic-web.xml 을 web.xml 로 사용 (DefaultServlet 이슈)
## 광주은행 참고 사항
### PORTAL Parameter
- deploy.prod_use_proxy = N (개발/운영 망 간 연동 없음)
@@ -38,7 +38,8 @@ public class JobHistoryService extends AbstractEMSDataSerivce<JobHistory, String
.select(qJobHistory.status) .select(qJobHistory.status)
.from(qJobHistory) .from(qJobHistory)
.where(qJobHistory.endDate.eq(maxEndDateQuery)) .where(qJobHistory.endDate.eq(maxEndDateQuery))
.fetchOne(); .fetchFirst(); // unique 에러 발생 대응
//.fetchOne();
} }
public void updateStatus(String jobName, String startDate, String endDate, String status) throws Exception { public void updateStatus(String jobName, String startDate, String endDate, String status) throws Exception {