17 lines
		
	
	
		
			483 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			483 B
		
	
	
	
		
			C#
		
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Web;
 | |
| 
 | |
| namespace DeiNiu.Wcf
 | |
| {
 | |
|     public abstract class baseSvc
 | |
|     {
 | |
|         protected static log4net.ILog log = log4net.LogManager.GetLogger("erpSvc");
 | |
|         protected string filterRisk(string condition)
 | |
|         {
 | |
|             condition= condition.ToUpper().Replace("UPDATE", "").Replace("DELETE", "");
 | |
|            return string.IsNullOrEmpty(condition) ? "" : " AND " + condition;
 | |
|         }
 | |
|     }
 | |
| } |