using RFrameGenerate.Common;
using RFrameGenerate.Model;
using RFramework.SQLServer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RFrameGenerate.BLL.Products
{
    public class ProductTypeManage
    {
        public static List<T_BAS_ProductType> GetList()
        {
            using (var query = Factory.CreateT_BAS_ProductType())
            {
                return query.GetList(a=>a.MerchantGuid==Common.CurrentManage.MerchantGuid,false,null,DAL.Enums.OrderMethods.Default,RFramework.SQLServer.Enums.LockType.Default,false).OrderBy(a => a.Sort).ToList();
            }
        }
        
    }
}
