| 
					
				 | 
			
			
				@@ -62,7 +62,7 @@ public class BrandServiceImpl implements BrandService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 品牌唯一标识符正则校验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String uniqueIdentifier = brand.getUniqueIdentifier(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        String regex = "(^[0-9a-zA-Z_&]{1,10}$)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String regex = "(^[0-9a-zA-Z_&-]{1,20}$)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (StringUtils.isNotBlank(uniqueIdentifier)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!Pattern.matches(regex, uniqueIdentifier)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 throw new RuntimeException("请输入正确的品牌唯一简码,有问题的简码:" + uniqueIdentifier); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -94,7 +94,7 @@ public class BrandServiceImpl implements BrandService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 品牌唯一标识符正则校验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String uniqueIdentifier = brand.getUniqueIdentifier(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        String regex = "(^[0-9a-zA-Z_&]{1,10}$)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        String regex = "(^[0-9a-zA-Z_&-]{1,20}$)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (StringUtils.isNotBlank(uniqueIdentifier)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!Pattern.matches(regex, uniqueIdentifier)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 throw new RuntimeException("请输入正确的品牌唯一简码,有问题的简码:" + uniqueIdentifier); 
			 |