47 lines
		
	
	
		
			998 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			998 B
		
	
	
	
		
			C#
		
	
	
	
| 
 | |
| /// <summary>
 | |
| ///INTERFACE CLASS FOR TABLE t_ProjectApproveList
 | |
| ///By wm with codesmith. 
 | |
| ///on 04/18/2017
 | |
| /// </summary>
 | |
| 
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Data;
 | |
| 
 | |
| namespace DeiNiu.wms.Data.Model
 | |
| {
 | |
|     [Serializable]
 | |
|     public class ProjectApproveList : ProjectApproveList_base
 | |
|     {
 | |
|         public ProjectApproveList()
 | |
|         {
 | |
| 
 | |
|         }
 | |
| 
 | |
|         public ProjectApproveList(int id): base(id)
 | |
|         {
 | |
| 
 | |
|         }
 | |
|         protected override void getImp()
 | |
|         {
 | |
|             model_imp = new ProjectApproveList_Imp();
 | |
| 
 | |
|         }
 | |
|         //begin cust db operation, query, excute sql etc.
 | |
|         public DataTable GetApproveListByTastkId(int taskId)
 | |
|         {
 | |
|             cmdParameters[0] = taskId;
 | |
|             return CustQuery(100).Tables[0];
 | |
|         }
 | |
| 
 | |
|         public DataTable GetApproveListByApprover(int empId)
 | |
|         {
 | |
|             cmdParameters[0] = empId;
 | |
|             return CustQuery(200).Tables[0];
 | |
|         }
 | |
|     }
 | |
| }
 | |
|   |