public SPCodeWrapper GetMatchCodeFromRequest(IDataAdapter httpRequestLog, string mo, string spcode, string province, string city)
        {
            var findCode = (from cc in Codes
                            where (cc.CheckIsMatchSPCode(spcode) && cc.CheckIsMatchCode(mo, spcode, province, city) && (cc.MOType != DictionaryConst.Dictionary_CodeType_CodeDefault_Key))
                            orderby cc.Priority ascending, cc.Mo.Length descending, cc.LimitProvince descending
                            select cc).FirstOrDefault();

            if (findCode != null)
            {
                return(findCode);
            }

            var defaultCode = Codes.Find(p => p.MOType == DictionaryConst.Dictionary_CodeType_CodeDefault_Key);

            return(defaultCode);
        }
        public SPClientCodeRelationWrapper GetDefaultClientCodeRelation()
        {
            var defaultCode = Codes.Find(p => p.MOType == DictionaryConst.Dictionary_CodeType_CodeDefault_Key);

            return(defaultCode.GetRelateClientCodeRelation());
        }