51 lines
		
	
	
		
			961 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			961 B
		
	
	
	
		
			C#
		
	
	
	
| 
 | |
| /// <summary>
 | |
| ///INTERFACE CLASS FOR TABLE t_LotAtt
 | |
| ///By wm  
 | |
| ///on 08/06/2018
 | |
| /// </summary>
 | |
| 
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Data;
 | |
| 
 | |
| namespace DeiNiu.wms.Data.Model
 | |
| {
 | |
|     [Serializable]
 | |
|     public class LotAtt : LotAtt_base
 | |
|     {
 | |
|         public LotAtt()
 | |
|         {
 | |
| 
 | |
|         }
 | |
| 
 | |
|         public LotAtt(int id): base(id)
 | |
|         {
 | |
| 
 | |
|         }
 | |
|         public LotAtt(DataRow dr): base(dr)
 | |
|         {
 | |
| 
 | |
|         }
 | |
|       protected override void getImp()
 | |
|         {
 | |
|             model_imp = new LotAtt_Imp();  
 | |
|         }
 | |
| 
 | |
|         //begin cust db operation, query, excute sql etc.
 | |
|         public DataTable queryByLotId(int lotId)
 | |
|         {
 | |
|             cmdParameters[0] = lotId;
 | |
|             return  CustQuery(100).Tables[0];
 | |
|         }
 | |
| 
 | |
|         public DataTable getAttByGoodId(string goodsId)
 | |
|         {
 | |
|             cmdParameters[0] = goodsId;
 | |
|             return CustQuery(200).Tables[0];
 | |
|         }
 | |
|     }
 | |
| }
 | |
|   |