bugfix - 스케줄러 목록 조회시 유니크 오류 수정
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user