| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -116,7 +116,16 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test="resiRules != null and resiRules.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                and | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <foreach collection="resiRules" item="rule" open="(" close=")"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ${rule.colTable}.${rule.colKey} ${rule.queryType} #{rule.colVal} ${rule.nextLogicalRel} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ${rule.colTable}.${rule.colKey} ${rule.queryType} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    <choose> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        <when test="rule.queryType == 'like'"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            CONCAT('%',#{rule.colVal} ,'%') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        </when> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        <otherwise> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            #{rule.colVal} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        </otherwise> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    </choose> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    ${rule.nextLogicalRel} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </where> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |