| | |
| | | private List<SysLaboratory> selectedList; |
| | | private String type; |
| | | private String name; |
| | | private String project; |
| | | |
| | | private int action; |
| | | |
| | |
| | | |
| | | public void exportLab2Excel(){ |
| | | try { |
| | | List<Map> list = sysLaboratoryService.exportLabList(type, name); |
| | | List<Map> list = sysLaboratoryService.exportLabList(type, name,project); |
| | | sysLaboratoryService.exportLab2Excel(list); |
| | | FacesUtils.info("导出成功"); |
| | | }catch (Exception e){ |
| | |
| | | Map<String, Object> filters) { |
| | | List<SysLaboratory> list = null; |
| | | try { |
| | | int count = sysLaboratoryService.getSysLaboratoryTotalCount(type, name); |
| | | int count = sysLaboratoryService.getSysLaboratoryTotalCount(type, name,project); |
| | | this.setRowCount(count); |
| | | if (count > 0) { |
| | | list = sysLaboratoryService.getSysLaboratoryList(type, name, first, pageSize); |
| | | list = sysLaboratoryService.getSysLaboratoryList(type, name,project, first, pageSize); |
| | | } |
| | | } catch (Exception e) { |
| | | logger.error(e); |
| | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getProject() { |
| | | return project; |
| | | } |
| | | |
| | | public void setProject(String project) { |
| | | this.project = project; |
| | | } |
| | | } |