Exemplo n.º 1
0
        private void DeleteEntrust(string entrustNumber)
        {
            if (string.IsNullOrEmpty(entrustNumber))
            {
                return;
            }

            //删除前面创建的柜台委托单实例
            bool isSuccess = HKDataAccess.DeleteTodayEntrust(entrustNumber);

            if (!isSuccess)
            {
                RescueManager.Instance.Record_HK_DeleteTodayEntrust(entrustNumber);
            }
        }
 /// <summary>
 /// 执行删除港股当日委托动作
 /// </summary>
 /// <param name="entrustNumber">委托单号</param>
 /// <returns>是否成功</returns>
 private bool Rescue_HK_DeleteTodayEntrust(string entrustNumber)
 {
     return(HKDataAccess.DeleteTodayEntrust(entrustNumber));
 }