java110
2020-03-28 a0373d6b939d71878ccfcc067cbb4efa6d803830
StoreService/src/main/java/com/java110/store/dao/impl/StoreServiceDaoImpl.java
@@ -508,4 +508,12 @@
        return propertyUsers;
    }
    public int getStoreCount(Map info) throws DAOException{
        List<Map> stores = sqlSessionTemplate.selectList("storeServiceDaoImpl.getStoreCount", info);
        if (stores.size() < 1) {
            return 0;
        }
        return Integer.parseInt(stores.get(0).get("count").toString());
    }
}