mirror of https://github.com/elunez/eladmin
				
				
				
			修复一个缺少break语句的bug (#214)
							parent
							
								
									84a65048f0
								
							
						
					
					
						commit
						1123f35349
					
				|  | @ -101,6 +101,7 @@ public class QueryHelp { | ||||||
|                         case RIGHT_LIKE: |                         case RIGHT_LIKE: | ||||||
|                             list.add(cb.like(getExpression(attributeName,join,root) |                             list.add(cb.like(getExpression(attributeName,join,root) | ||||||
|                                     .as(String.class), val.toString() + "%")); |                                     .as(String.class), val.toString() + "%")); | ||||||
|  |                             break; | ||||||
|                         case IN: |                         case IN: | ||||||
|                             if (CollUtil.isNotEmpty((Collection<Long>)val)) { |                             if (CollUtil.isNotEmpty((Collection<Long>)val)) { | ||||||
|                                 list.add(getExpression(attributeName,join,root).in((Collection<Long>) val)); |                                 list.add(getExpression(attributeName,join,root).in((Collection<Long>) val)); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Jiang Mengfeng
						Jiang Mengfeng