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
@@ -38,7 +38,8 @@ public class JobHistoryService extends AbstractEMSDataSerivce<JobHistory, String
.select(qJobHistory.status)
.from(qJobHistory)
.where(qJobHistory.endDate.eq(maxEndDateQuery))
.fetchOne();
.fetchFirst(); // unique 에러 발생 대응
//.fetchOne();
}
public void updateStatus(String jobName, String startDate, String endDate, String status) throws Exception {