31 lines
		
	
	
		
			690 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			690 B
		
	
	
	
		
			C#
		
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Data;
 | |
| using System.Text;
 | |
| using DeiNiu.Data.BaseObject;
 | |
| 
 | |
| namespace DeiNiu.wms.Data.Model
 | |
| {
 | |
|    [Serializable] public    class  Setup : BaseModel
 | |
|     { 
 | |
|         public void initializingProjects()
 | |
|         {
 | |
|             CustOper(200);  //delete project approvelist
 | |
|             CustOper(300);  //delete project detail
 | |
|             CustOper(400);  //delete project 
 | |
| 
 | |
|         }
 | |
|         public void initializingNews()
 | |
|         {
 | |
| 
 | |
|             CustOper(500);  //delete news
 | |
|         }
 | |
| 
 | |
|        public DataTable exeSql(string strSql)
 | |
|        {
 | |
|            CmdParameters[0] = strSql;
 | |
|            return CustQuery(600).Tables[0];
 | |
|        }
 | |
|     }
 | |
| }
 |