returnrawQueryGetDto("select * from t_task_report where task_key=? AND task_report_level",newString[]{""+taskKey,""+taskReportLevel},TaskReportDto.class);
}
}
publicbooleanupdate(TaskReportDtodto){
publicbooleanupdate(TaskReportDtodto){
...
@@ -106,16 +109,50 @@ public class TaskReportDao extends AbstractDao {
...
@@ -106,16 +109,50 @@ public class TaskReportDao extends AbstractDao {
returnrawQueryGetInt("select COUNT(*) from t_task_report where task_key=? AND task_report_level=? AND task_report_id=? AND report_start_date=?",newString[]{""+taskKey,""+taskReportLevel,""+taskReportId,""+reportStartDate})>0;
returnrawQueryGetInt("select COUNT(*) from t_task_report where task_key=? AND task_report_level=?",newString[]{""+taskKey,""+taskReportLevel})>0;
returnrawQueryGetDtoList("select * from t_task_report_items where task_key=?",newString[]{""+taskKey},TaskReportItemsDto.class);
returnrawQueryGetDtoList("select * from t_task_report_items where task_key=? and task_report_level=?",newString[]{""+taskKey,""+taskReportLevel},TaskReportItemsDto.class);