username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.IDAL.Inquiry;
 
namespace CY.SQLDAL
{
    public class PaperSizeDetailDAL : IPaperSizeDetailDAL
    {
        Database _dataBase = null;
 
        public PaperSizeDetailDAL()
        {
            _dataBase = new Database();
        }
 
        public IList<Model.SysInquiry_PaperSizeDetail> GetPaperSizeList(int printTypeId)
        {
            string selectTarget = "  * ";
            string fromSouce = " [SysInquiry_PaperSizeDetail] ";
            string condition = "  PrintTypeId='" + printTypeId + "' AND STATUS='true' order by value desc"; 
            IList<Model.SysInquiry_PaperSizeDetail> result = _dataBase.SelectModel<Model.SysInquiry_PaperSizeDetail>(selectTarget, fromSouce, condition);
            return result;
        }
    }
}