| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -132,9 +132,13 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="getListPage" parameterType="com.hnac.hzinfo.inspect.task.vo.TaskListQuery" resultType="com.hnac.hzinfo.inspect.task.vo.TaskVo"> | 
					 | 
					 | 
					 | 
					    <select id="getListPage" parameterType="com.hnac.hzinfo.inspect.task.vo.TaskListQuery" resultType="com.hnac.hzinfo.inspect.task.vo.TaskVo"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT t.*,u.USER_ID from HZ_ST_EX_TASK t | 
					 | 
					 | 
					 | 
					        SELECT | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        LEFT JOIN HZ_ST_EX_TASK_USER u on t.ID=u.TASK_ID | 
					 | 
					 | 
					 | 
					            t.*, u.USER_ID | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        where t.IS_DELETED=0 and u.IS_DELETED=0 | 
					 | 
					 | 
					 | 
					        from | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            HZ_ST_EX_TASK t | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            left join HZ_ST_EX_TASK_USER u on t.ID = u.TASK_ID | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        where | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            t.IS_DELETED = 0 and u.IS_DELETED = 0 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <if test="task.dutyId != null "> | 
					 | 
					 | 
					 | 
					        <if test="task.dutyId != null "> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            and t.DUTY_ID = #{task.dutyId} | 
					 | 
					 | 
					 | 
					            and t.DUTY_ID = #{task.dutyId} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -174,14 +178,15 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <if test="task.taskIds != null and task.taskIds != ''"> | 
					 | 
					 | 
					 | 
					        <if test="task.taskIds != null and task.taskIds != ''"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            and FIND_IN_SET(t.ID, #{task.taskIds}) | 
					 | 
					 | 
					 | 
					            and FIND_IN_SET(t.ID, #{task.taskIds}) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <if test="task.areaId != null"> | 
					 | 
					 | 
					 | 
					        <if test="task.createDept != null"> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            and t.CREATE_DEPT = #{task.areaId} | 
					 | 
					 | 
					 | 
					            and t.CREATE_DEPT = #{task.createDept} | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <if test="task.yearMonth != null"> | 
					 | 
					 | 
					 | 
					        <if test="task.yearMonth != null"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            and date_format(t.PLAN_START_TIME,'%Y-%m') = #{task.yearMonth} | 
					 | 
					 | 
					 | 
					            and date_format(t.PLAN_START_TIME,'%Y-%m') = #{task.yearMonth} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        order by t.UPDATE_TIME desc | 
					 | 
					 | 
					 | 
					        order by t.UPDATE_TIME desc | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="getAllPageList" parameterType="com.hnac.hzinfo.inspect.task.vo.TaskListQuery" resultType="com.hnac.hzinfo.inspect.task.vo.TaskVo"> | 
					 | 
					 | 
					 | 
					    <select id="getAllPageList" parameterType="com.hnac.hzinfo.inspect.task.vo.TaskListQuery" resultType="com.hnac.hzinfo.inspect.task.vo.TaskVo"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT | 
					 | 
					 | 
					 | 
					        SELECT | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        t.*, b.USER_ID as userIds, | 
					 | 
					 | 
					 | 
					        t.*, b.USER_ID as userIds, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |