Ejemplo n.º 1
0
        /// <summary>
        /// 根据服务码查询银行美容服务码记录
        /// </summary>
        /// <param name="serviceCodes"></param>
        /// <returns></returns>
        public static IEnumerable <BankMRActivityCodeRecord> GetBankMRActivityCodeRecordByServiceCode(IEnumerable <string> serviceCodes)
        {
            IEnumerable <BankMRActivityCodeRecord> result = null;

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

            return(result);
        }