jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
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
28
29
30
31
using HH.WMS.Entitys.Basic;
/********************************************************************************
 
** auth: DBS
 
** date: 2018/12/11 10:33:38
 
** desc: 尚未编写描述
 
** Ver.:  V1.0.0
 
*********************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WMS.DAL.Basic
{
    public class TN_WM_PRINT_TEMPLETDAL : DapperBaseDAL
    {
        public List<Entitys.Basic.TN_WM_PRINT_TEMPLETEntity> GetAllowOperationList(string mac)
        {
            string sql = "select * from TN_WM_PRINT_TEMPLET where CN_S_MAC=@CN_S_MAC or (CN_C_IS_UPLOADED='Y' and CN_C_IS_FIRST='Y')";
 
            return ExecuteQuery<TN_WM_PRINT_TEMPLETEntity>(sql, new { CN_S_MAC = mac });
            //return  ExecutePagingResult(sql, pageIndex, pageSize, "", "");
        }
    }
}