returnrawQueryGetDtoList("select * from t_task_report where task_key=? and task_report_level",newString[]{""+taskKey,""+taskReportLevel},TaskReportDto.class);
returnrawQueryGetDtoList("select * from t_task_report where task_key=? and task_report_level=?",newString[]{""+taskKey,""+taskReportLevel},TaskReportDto.class);
}
publicList<TaskReportDto>selectAll(){
...
...
@@ -227,6 +247,14 @@ public class TaskReportDao extends AbstractDao {
}
/**
* テーブル物理削除
* @param dto
*/
publicvoiddelete(TaskReportDtodto){
delete("t_task_report","task_key=? and task_report_level=?",newString[]{dto.taskKey,""+dto.taskReportLevel});