| | |
| | | printTable.put("phone", selectOne.getPhone()); |
| | | printTable.put("receiptNumber", selectOne.getReceiptNumber()); |
| | | printTable.put("project", selectOne.getProject()); |
| | | SysLaboratory sysLaboratory = sysLaboratoryService.getSysLaboratory(selectOne.getHouseId()); |
| | | |
| | | SysLaboratory sysLaboratory = sysLaboratoryService.getSysLaboratorySimpleInfo(selectOne.getHouseId()); |
| | | printTable.put("lab", sysLaboratory.getName()); |
| | | printTable.put("note",selectOne.getNote() == null?"":selectOne.getNote()); |
| | | //整理数据 |
| | | List<PersonUseDetail> applyInfo = opeUseFlowService.getApplyInfo(selectOne.getReceiptNumber()); |
| | | assert applyInfo.size() > 0; |
| | |
| | | |
| | | } |
| | | |
| | | /** |
| | | * @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) { |