|
@@ -15,8 +15,8 @@ import java.util.Map;
|
|
|
*
|
|
|
* @Description
|
|
|
* <p>设备数据表,按照设备ID进行分片</p>
|
|
|
- * sh.enableSharding("iot-water-database")
|
|
|
- * sh.shardCollection("iot-water-database.sc_device_data",{"receiveDate":1,"deviceId":1});
|
|
|
+ * sh.enableSharding("meter-reading-database")
|
|
|
+ * sh.shardCollection("meter-reading-database.sc_device_data",{"receiveDate":1,"deviceId":1});
|
|
|
* @author wilian.peng
|
|
|
* @date 2019年11月12日 下午10:05:10
|
|
|
*/
|