| | |
| | | |
| | | private String containerCode; |
| | | |
| | | private String operatestate; |
| | | |
| | | public String getHouseName() { |
| | | return houseName; |
| | | } |
| | |
| | | Map<String, Object> filters) { |
| | | List<OpeUseFlow> list = null; |
| | | try { |
| | | int count = opeUseFlowService.getOpeUseFlowTotalCountByName(houseName,reagentId, reagentCode, containerCode,null, getUserId(),startDate,endDate); |
| | | int count = opeUseFlowService.getOpeUseFlowTotalCountByName(houseName,reagentId, reagentCode, containerCode,null, getUserId(),startDate,endDate,operatestate); |
| | | this.setRowCount(count); |
| | | if (count > 0) { |
| | | list = opeUseFlowService.getOpeUseFlowListByName(houseName,reagentId, reagentCode, containerCode,null, getUserId(),startDate,endDate, first, pageSize); |
| | | list = opeUseFlowService.getOpeUseFlowListByName(houseName,reagentId, reagentCode, containerCode,null, getUserId(),startDate,endDate, first, pageSize,operatestate); |
| | | } |
| | | selectedOne = null; |
| | | } catch (Exception e) { |
| | |
| | | } |
| | | |
| | | return dataModel; |
| | | } |
| | | |
| | | public void export2Excel() { |
| | | |
| | | List<Map> list = opeUseFlowService.selectAll(houseName,reagentId, reagentCode, containerCode,getUserId(),startDate,endDate); |
| | | try{ |
| | | boolean isexport = opeUseFlowService.export2Excel(list); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | FacesUtils.warn("导出失败"); |
| | | } |
| | | } |
| | | |
| | | public String getReagentId() { |
| | |
| | | public void setSelectedOne(OpeUseFlow selectedOne) { |
| | | this.selectedOne = selectedOne; |
| | | } |
| | | |
| | | public void setOperatestate(String operatestate) { |
| | | this.operatestate = operatestate; |
| | | } |
| | | |
| | | public String getOperatestate(){ |
| | | return operatestate; |
| | | } |
| | | } |