| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -74,6 +74,9 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          AND DATE_FORMAT(CREATED_TIME, '%Y-%m-%d') = DATE_FORMAT(NOW(), '%Y-%m-%d') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </select> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <!-- 未完成:无上限的、一次性任务未完成的、非一次性任务完成数量< 积分上限次数的   --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <!-- 已完成:有上线并且完成的、一次性任务完成的   --> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <select id="queryMyPointTaskList" parameterType="map" resultType="com.epmet.dto.result.MyPointTaskResultDTO"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        select | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            temp.* | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -124,12 +127,19 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        )temp | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        where 1=1 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test='null != type and "unfinished" == type'> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            and temp.finishedCount=0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            AND ( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            temp.upLimit='0' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            or ( temp.upLimit !='0' and temp.DISPOSABLE = '0' AND temp.finishedCount < upLimitCount ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            OR ( temp.upLimit !='0' and temp.DISPOSABLE = '1' AND temp.finishedCount = 0 ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <if test='null != type and "finished" == type'> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            and temp.upLimit !=0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            and temp.finishedCount=temp.upLimitCount | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            and ( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                ( temp.upLimit !='0' and temp.DISPOSABLE='0' and temp.finishedCount=temp.upLimitCount and temp.finishedCount !=0) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                or(temp.DISPOSABLE='1'and temp.finishedCount=1) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ORDER BY temp.sort ASC | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    </select> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</mapper> |