天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
848 B

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
{
/// <summary>
/// 获取打印模板
/// </summary>
public class PrintModelCopyDAL : BaseDAL
{
public List<PrintModelCopy> GetPrintModelCopyList(string printFlag)
{
List<PrintModelCopy> list = new List<PrintModelCopy>();
string sql = string.Format("select * from T_BD_PRINTMODELCOPY where PRINTFLAG='{0}'", printFlag);
using (IDataSession session = AppDataFactory.CreateMainSession())
{
list = session.GetList<PrintModelCopy>(sql, new List<DataParameter>().ToArray()).ToList<PrintModelCopy>();
}
return list;
}
}
}