returnrawQueryGetDto("select * from t_content where delivery_start_date < ? order by delivery_start_date desc limit 1",newString[]{startTime},ContentDto.class);
}
/**
* DL済みのサイネージPDFのコンテンツIDを返す
* @return
*/
publicList<Long>getDownloadedPdf(){
returnrawQueryGetLongList("select content_id from t_content where downloaded_flg=1 and content_type='pdf' and signage=1",null);
}
publicList<ContentDto>getAllContentDownloaded(){
returnrawQueryGetDtoList("select * from t_content where downloaded_flg=1",null,ContentDto.class);
}
publicList<ContentDto>getUnfinishedDownloadAll(){
Stringsql=String.format(" select * from t_content where downloaded_flg=0 and (status is null or status IN ('%s', '%s', '%s', '%s', '%s')) "