Object objectShardBy = runtime.getParameters().get(":" + (shardIndex + 1));
Number value;
if (objectShardBy instanceof Number) {
value = (Number) objectShardBy;
} else {
ShardBy annotationShardBy = runtime.getMetaData().getShardBy();
String propertyName = annotationShardBy.value();
PropertyDescriptor propertyDescriptor = BeanUtils.getPropertyDescriptor(
objectShardBy.getClass(), propertyName);
try {
value = (Number) propertyDescriptor.getReadMethod().invoke(objectShardBy);
} catch (Exception e) {