add
gdg
2021-01-06 626028e5865122c43d97156d2cb221b751e5f18d
src/main/java/com/nanometer/smartlab/service/SysReagentServiceImpl.java
@@ -133,6 +133,7 @@
        params.put("productSn", productSn);
        params.put("first", first);
        params.put("pageSize", pageSize);
        params.put("MaxSize", first+pageSize);
        return sysReagentDao.reagentList(params);
    }
@@ -141,6 +142,17 @@
        return sysReagentDao.getReagentUnitByReagentId(reagentId);
    }
    @Override
    public List<SysReagent> getReagent(String name, String cas, String factory, String specifications, String packing) {
        Map<String, String> params = new HashMap<>();
        params.put("name", name);
        params.put("cas", cas);
        params.put("factory", factory);
        params.put("specifications", specifications);
        params.put("packing", packing);
        return sysReagentDao.getReagent(params);
    }
    @Transactional(propagation = Propagation.REQUIRED)
    public int getSysReagentTotalCount(String name, String cas, String supplierId,Integer type) {