## Feat - Top 30 (直推人数/直推金额) - 排除死点
This commit is contained in:
		
							parent
							
								
									0b540c6002
								
							
						
					
					
						commit
						0ba1fa9e2d
					
				| 
						 | 
				
			
			@ -48,6 +48,7 @@
 | 
			
		|||
                   and order_status = 1
 | 
			
		||||
                   AND (order_type in (1,2) or (order_Type = 3 and ORDER_TYPE_EXTEND = 1))
 | 
			
		||||
                   and o.pay_time between #{param.startDate} and #{param.endDate}
 | 
			
		||||
                 group by PK_REFERENCE
 | 
			
		||||
             ) r
 | 
			
		||||
                 left join cu_member cm on r.PK_REFERENCE = cm.pk_id
 | 
			
		||||
        WHERE ROWNUM <![CDATA[ <=]]> 30
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue