use of com.eservice.api.model.task_record.TaskReport in project sinsim by WilsonHu.
the class TaskRecordController method selectTaskReports.
/**
* 返回时间段内某安装工序taskName的安装记录
*
* @param page
* @param size
* @param taskName
* @param installStartTime
* @param installFinishTime
* @return
*/
@PostMapping("selectTaskReports")
public Result selectTaskReports(@RequestParam(defaultValue = "0") Integer page, @RequestParam(defaultValue = "0") Integer size, String taskName, String installStartTime, String installFinishTime) {
PageHelper.startPage(page, size);
List<TaskReport> list = taskRecordService.selectTaskReports(taskName, installStartTime, installFinishTime);
PageInfo pageInfo = new PageInfo(list);
return ResultGenerator.genSuccessResult(pageInfo);
}
Aggregations