using RFrameGenerate.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RFrameGenerate.BLL
{
    public class LogisticsManage
    {
        /// <summary>
        /// 根据GUID获取物流信息
        /// </summary>
        /// <param name="guid"></param>
        /// <returns></returns>
        public static T_BAS_Logistics GetEntity(Guid guid)
        {
            using (var query = Factory.CreateT_BAS_Logistics())
            {
                return query.GetFirstData(t=>t.LogisticrGuid==guid);
            }
        }
    }
}
