| | |
| | | } |
| | | } |
| | | |
| | | public List<SysReagent> getSysReagentListNew(String name, String cas, String supplierId,Integer type, Integer first, Integer pageSize) { |
| | | public List<SysReagent> getSysReagentListNew(String name, String cas, String supplierId,Integer type, Integer first, Integer pageSize,String productSn) { |
| | | try { |
| | | Map<String, Object> params = new HashMap<String, Object>(); |
| | | params.put("name", name); |
| | |
| | | params.put("type", type); |
| | | params.put("first", first); |
| | | params.put("pageSize", pageSize); |
| | | params.put("productSn", productSn); |
| | | return this.sysReagentDao.getSysReagentListNew(params); |
| | | } catch (DataAccessException e) { |
| | | logger.error(e.getMessage(), e); |
| | |
| | | } |
| | | |
| | | |
| | | public int getSysReagentTotalCountNew(String name, String cas, String supplierId,Integer type) { |
| | | public int getSysReagentTotalCountNew(String name, String cas, String supplierId,Integer type,String productSn) { |
| | | try { |
| | | Map<String, Object> params = new HashMap<String, Object>(); |
| | | params.put("name", name); |
| | | params.put("cas", cas); |
| | | params.put("type", type); |
| | | params.put("supplierId", supplierId); |
| | | params.put("productSn", productSn); |
| | | return this.sysReagentDao.getSysReagentTotalCountNew(params); |
| | | } catch (DataAccessException e) { |
| | | logger.error(e.getMessage(), e); |