public static PayCheckRecord AddPayCheckRecord(Guid payId)
        {
            PayCheckRecord item = GetPayCheckRecord(payId);

            if (item == null)
            {
                item = new PayCheckRecord();

                item.标识 = payId;
                item.Save();
            }
            return(item);
        }
        /// <summary>
        /// 通过 Id 获取线路
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static PayCheckRecord GetPayCheckRecord(Guid id)
        {
            PayCheckRecord obj = (PayCheckRecord)MyHelper.XpoSession.GetObjectByKey(typeof(PayCheckRecord), id);

            return(obj);
        }