| | |
| | | |
| | | } |
| | | |
| | | /** |
| | | * @Description: 导出详情 |
| | | */ |
| | | public void exportDetail() throws Exception { |
| | | try { |
| | | if (startTime == null || endTime == null){ FacesUtils.warn("请选择日期范围");return;} |
| | | |
| | | List<Map> list = opeUseFlowService.selectExportDetail(reagentCode, getUserId(), startTime, endTime, receiptNumber, department, project, applyPerson, reagentName); |
| | | if (list == null || list.size() < 1) {FacesUtils.warn("没有数据导出");return;} |
| | | opeUseFlowService.export22Excel(list); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | FacesUtils.warn("导出失败"); |
| | | } |
| | | |
| | | } |
| | | |
| | | @SuppressWarnings("serial") |
| | | public LazyDataModel<OpeReagentStatus> getDataModel() { |
| | | if (this.dataModel == null) { |