| 
					
					
						
							
						
					
					
				 | 
				@ -397,17 +397,17 @@ namespace Shentun.Peis | 
			
		
		
	
		
			
				 | 
				 | 
				        /// </summary>
 | 
				 | 
				 | 
				        /// </summary>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        /// <param name="value">需要验证的值</param>
 | 
				 | 
				 | 
				        /// <param name="value">需要验证的值</param>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        /// <param name="parameterName">字段名称</param>
 | 
				 | 
				 | 
				        /// <param name="parameterName">字段名称</param>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        /// <param name="IsVerifyValue"> 默认false(true 验证为Y跟N    false 不验证)</param>
 | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        /// <param name="IsBoolValue"> 默认false(true 验证为Y跟N    false 不验证)</param>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        /// <param name="ExceptionMessage">异常提示后缀</param>
 | 
				 | 
				 | 
				        /// <param name="ExceptionMessage">异常提示后缀</param>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        /// <exception cref="ArgumentException"></exception>
 | 
				 | 
				 | 
				        /// <exception cref="ArgumentException"></exception>
 | 
			
		
		
	
		
			
				 | 
				 | 
				        public static void CheckVerifyData(char? value, string parameterName, bool IsVerifyValue = false, string ExceptionMessage = "不能为空") | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        public static void CheckVerifyData(char? value, string parameterName, bool IsBoolValue = false, string ExceptionMessage = "不能为空") | 
			
		
		
	
		
			
				 | 
				 | 
				        { | 
				 | 
				 | 
				        { | 
			
		
		
	
		
			
				 | 
				 | 
				            if (value == null || value == '0') | 
				 | 
				 | 
				            if (value == null || value == '0') | 
			
		
		
	
		
			
				 | 
				 | 
				            { | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				                throw new ArgumentException($"{parameterName}{ExceptionMessage}"); | 
				 | 
				 | 
				                throw new ArgumentException($"{parameterName}{ExceptionMessage}"); | 
			
		
		
	
		
			
				 | 
				 | 
				            } | 
				 | 
				 | 
				            } | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				            if (IsVerifyValue && value != 'Y' && value != 'N') | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            if (IsBoolValue && value != 'Y' && value != 'N') | 
			
		
		
	
		
			
				 | 
				 | 
				            { | 
				 | 
				 | 
				            { | 
			
		
		
	
		
			
				 | 
				 | 
				                throw new ArgumentException($"{parameterName}参数为:{value},是无效值"); | 
				 | 
				 | 
				                throw new ArgumentException($"{parameterName}参数为:{value},是无效值"); | 
			
		
		
	
		
			
				 | 
				 | 
				            } | 
				 | 
				 | 
				            } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |