| | |
| | | private String cas; |
| | | private List<SysSupplier> supplierSelectList; |
| | | private List<Type> typeList; |
| | | private String productSn; |
| | | |
| | | public List<Type> getTypeList() { |
| | | if (this.typeList == null) { |
| | |
| | | private Integer type; |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | return type == null?0:type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | |
| | | public List<SysReagent> load(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, Object> filters) { |
| | | List<SysReagent> list = null; |
| | | try { |
| | | int count = sysReagentService.getSysReagentTotalCount(name, cas, supplierId,type); |
| | | int count = sysReagentService.getSysReagentTotalCountNew(name, cas, supplierId,getType(),productSn); |
| | | this.setRowCount(count); |
| | | if (count > 0) { |
| | | list = sysReagentService.getSysReagentList(name, cas, supplierId,type, first, pageSize); |
| | | list = sysReagentService.getSysReagentListNew(name, cas, supplierId,getType(), first, pageSize,productSn); |
| | | } |
| | | } catch (Exception e) { |
| | | logger.error(e); |
| | |
| | | public void setDangerousFlagSelectList(List<DangerousFlag> dangerousFlagSelectList) { |
| | | this.dangerousFlagSelectList = dangerousFlagSelectList; |
| | | } |
| | | |
| | | public String getProductSn() { |
| | | return productSn; |
| | | } |
| | | |
| | | public void setProductSn(String productSn) { |
| | | this.productSn = productSn; |
| | | } |
| | | } |