|  |  | @ -93,11 +93,11 @@ | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != demandUserName and demandUserName !='' "> | 
			
		
	
		
			
				
					|  |  |  |                 and r.DEMAND_USER_NAME like concat('%',#{demandUserName},'%') | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             <if test=" null != reportStartDate and reportStartDate != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ >= ]]> #{reportStartDate} | 
			
		
	
		
			
				
					|  |  |  |             <if test=" null != reportStartTime and reportStartTime != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ >= ]]> #{reportStartTime} | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != reportEndDate and reportEndDate != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{reportEndDate} | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != reportEndTime and reportEndTime != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{reportEndTime} | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != status and status != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 and r.STATUS=#{status} | 
			
		
	
	
		
			
				
					|  |  | @ -108,11 +108,11 @@ | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != serverId and serverId != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 and s.SERVER_ID=#{serverId} | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             <if test=" null != wantServiceStartDate and wantServiceStartDate != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ >= ]]> #{wantServiceStartDate} | 
			
		
	
		
			
				
					|  |  |  |             <if test=" null != wantServiceStartTime and wantServiceStartTime != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ >= ]]> #{wantServiceStartTime} | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != wantServiceEndDate and wantServiceEndDate != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{wantServiceEndDate} | 
			
		
	
		
			
				
					|  |  |  |             <if test="null != wantServiceEndTime and wantServiceEndTime != '' "> | 
			
		
	
		
			
				
					|  |  |  |                 AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{wantServiceEndTime} | 
			
		
	
		
			
				
					|  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |             order by r.WANT_SERVICE_TIME desc,r.CREATED_TIME asc | 
			
		
	
		
			
				
					|  |  |  |     </select> | 
			
		
	
	
		
			
				
					|  |  | 
 |