using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.DAL;
using QMAPP.FJC.Entity.Basic;
using QMFrameWork.Data;
namespace QMAPP.FJC.DAL.Basic
{
///
/// 获取打印模板
///
public class PrintModelCopyDAL : BaseDAL
{
public List GetPrintModelCopyList(string printFlag)
{
List list = new List();
string sql = string.Format("select * from T_BD_PRINTMODELCOPY where PRINTFLAG='{0}'", printFlag);
using (IDataSession session = AppDataFactory.CreateMainSession())
{
list = session.GetList(sql, new List().ToArray()).ToList();
}
return list;
}
}
}