/// <summary>
        /// 更新银行活动组配置
        /// </summary>
        /// <param name="config"></param>
        /// <param name="operateUser"></param>
        /// <returns></returns>
        public bool UpdateBankActivityGroupConfigByPKID(BankActivityGroupConfig config, string operateUser)
        {
            bool result = false;

            try
            {
                var oldValue = TuhuGrouponDbScopeManagerReadOnly.Execute(conn => BankMRActivityDal.SelectBankActivityGroupConfigByPKID(conn, config.PKID));
                TuhuGrouponDbScopeManager.Execute(conn => result = BankMRActivityDal.UpdateBankActivityGroupConfigByPKID(conn, config));
                var log = new BeautyOprLog
                {
                    LogType     = "UpdateBankActivityGroupConfigByPKID",
                    IdentityID  = config.PKID.ToString(),
                    OldValue    = JsonConvert.SerializeObject(oldValue),
                    NewValue    = JsonConvert.SerializeObject(config),
                    Remarks     = $"更新银行活动组配置,PKID:{config.PKID}",
                    OperateUser = operateUser,
                };
                LoggerManager.InsertLog("BeautyOprLog", log);
            }
            catch (Exception ex)
            {
                Logger.Error(ex.Message, ex);
            }

            return(result);
        }
        /// <summary>
        /// 根据ID删除银行活动组配置
        /// </summary>
        /// <param name="id"></param>
        /// <param name="operateUser"></param>
        /// <returns></returns>
        public bool DeleteBankActivityGroupConfigByPKID(int pkid, string operateUser)
        {
            bool result = false;

            try
            {
                var oldValue = TuhuGrouponDbScopeManager.Execute(conn => BankMRActivityDal.SelectBankActivityGroupConfigByPKID(conn, pkid));
                TuhuGrouponDbScopeManager.Execute(conn => result = BankMRActivityDal.DeleteBankActivityGroupConfigByPKID(conn, pkid));
                var log = new BeautyOprLog
                {
                    LogType     = "DeleteBankActivityGroupConfigByPKID",
                    IdentityID  = pkid.ToString(),
                    OldValue    = JsonConvert.SerializeObject(oldValue),
                    NewValue    = null,
                    Remarks     = $"删除银行活动组配置,{pkid}:{pkid}",
                    OperateUser = operateUser,
                };
                LoggerManager.InsertLog("BeautyOprLog", log);
            }
            catch (Exception ex)
            {
                Logger.Error(ex.Message, ex);
            }
            return(result);
        }
        /// <summary>
        /// 根据PKID获取银行活动组配置
        /// </summary>
        /// <param name="pkid"></param>
        /// <returns></returns>
        public BankActivityGroupConfig SelectBankActivityGroupConfigByPKID(int pkid)
        {
            BankActivityGroupConfig result = null;

            try
            {
                TuhuGrouponDbScopeManagerReadOnly.Execute(conn => result = BankMRActivityDal.SelectBankActivityGroupConfigByPKID(conn, pkid));
            }
            catch (Exception ex)
            {
                Logger.Error(ex.Message, ex);
            }
            return(result);
        }