code: protected function parseName($name)
      {
          $tableName = $name;
          $suffix = null;
  
          $pos = strrpos($name, '_');
          if ($pos !== false) {
              $tableId = substr($name, $pos + 1);
              if (is_numeric($tableId)) {
                  $tableName = substr($name, 0, $pos);
                  $suffix = intval($tableId);
              }
          }
  
          return [$tableName, $suffix];
      }
docs: 解析分布式表名
  表名  + ['_' + 数字后缀]，如：user_0, user_1, ... user_100
  
  @param string $name
  @return array