returnrawQueryGetDto("select * from t_inspect_task_report where task_key=? and task_report_id=? and datetime(report_start_date)=datetime(?)",newString[]{taskKey,""+taskReportId,reportStartDate},InspectTaskReportDto.class);
returnrawQueryGetDto("select * from t_inspect_task_report where task_key=? and task_report_id=? and datetime(report_start_date)=datetime(?, 'utc')",newString[]{taskKey,""+taskReportId,reportStartDate},InspectTaskReportDto.class);
}
...
...
@@ -160,10 +156,6 @@ public class InspectTaskReportDao extends AbstractDao {
returnrawQueryGetDtoList("select * from t_inspect_task_report where task_key=?",newString[]{taskKey},InspectTaskReportDto.class);
returnrawQueryGetDtoList("select * from t_inspect_task_report where task_key=? and task_report_id=? and datetime(report_start_date)=datetime(?)",newString[]{taskKey,""+taskReportId,reportStartDate},InspectTaskReportDto.class);