public List<EpTaskHistory> listEpTaskHistory( String startTime, String endTime, String taskId, String organName, String branchName, String employeeName, String userId, String allotUserId, String employeeId) { EpTaskHistoryVO epTaskHistory = new EpTaskHistoryVO(); if (!StringUtils.isBlank(startTime)) { epTaskHistory.setStartTime(startTime); } if (!StringUtils.isBlank(endTime)) { epTaskHistory.setEndTime(endTime); } if (!StringUtils.isBlank(allotUserId)) { epTaskHistory.setAllotUserId(allotUserId); } if (!StringUtils.isBlank(taskId)) { epTaskHistory.setTaskId(taskId); } if (!StringUtils.isBlank(organName)) { epTaskHistory.setOrganName(organName); } if (!StringUtils.isBlank(branchName)) { epTaskHistory.setBranchName(branchName); } if (!StringUtils.isBlank(employeeName)) { epTaskHistory.setEmployeeName(employeeName); } if (!StringUtils.isBlank(userId)) { epTaskHistory.setUserId(userId); } if (!StringUtils.isBlank(employeeId)) { epTaskHistory.setEmployeeId(employeeId); } return epTaskStepHistoryDAO.listEpTaskStepHistory(epTaskHistory); }