code: def QA_SU_save_stock_block(client=DATABASE, ui_log=None, ui_progress=None):
      
  
      client.drop_collection('stock_block')
      coll = client.stock_block
      coll.create_index('code')
  
      try:
          QA_util_log_info(
              '##JOB09 Now Saving STOCK_BlOCK ====',
              ui_log=ui_log,
              ui_progress=ui_progress,
              ui_progress_int_value=5000
          )
          coll.insert_many(
              QA_util_to_json_from_pandas(QA_fetch_get_stock_block('tdx'))
          )
          QA_util_log_info(
              'tdx Block ====',
              ui_log=ui_log,
              ui_progress=ui_progress,
              ui_progress_int_value=5000
          )
  
          # 🛠todo fixhere here 获取同花顺板块， 还是调用tdx的
          coll.insert_many(
              QA_util_to_json_from_pandas(QA_fetch_get_stock_block('ths'))
          )
          QA_util_log_info(
              'ths Block ====',
              ui_log=ui_log,
              ui_progress=ui_progress,
              ui_progress_int_value=8000
          )
  
          QA_util_log_info(
              '完成股票板块获取=',
              ui_log=ui_log,
              ui_progress=ui_progress,
              ui_progress_int_value=10000
          )
  
      except Exception as e:
          QA_util_log_info(e, ui_log=ui_log)
          print(" Error save_tdx.QA_SU_save_stock_block exception!")
          pass
docs: save stock_block
  
      Keyword Arguments:
          client {[type]} -- [description] (default: {DATABASE})