| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -3,12 +3,15 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<mapper namespace="com.hnac.hzims.operational.access.mapper.OperAccessStatisticsMapper"> | 
					 | 
					 | 
					 | 
					<mapper namespace="com.hnac.hzims.operational.access.mapper.OperAccessStatisticsMapper"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!-- 通用查询映射结果 --> | 
					 | 
					 | 
					 | 
					    <!-- 通用查询映射结果 --> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <resultMap id="BaseResultMap" type="com.hnac.hzims.operational.access.entity.OperAccessStatisticsEntity"> | 
					 | 
					 | 
					 | 
					    <resultMap id="BaseResultMap" type="com.hnac.hzims.operational.access.vo.OperAccessStatisticsVO"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="ID" property="id"/> | 
					 | 
					 | 
					 | 
					        <result column="ID" property="id"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="PID" property="pid"/> | 
					 | 
					 | 
					 | 
					        <result column="PID" property="pid"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <result column="TASK_ID" property="taskId"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <result column="EM_CODE" property="emCode"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="MANAGER" property="manager"/> | 
					 | 
					 | 
					 | 
					        <result column="MANAGER" property="manager"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="PLAN_START_TIME" property="planStartTime"/> | 
					 | 
					 | 
					 | 
					        <result column="PLAN_START_TIME" property="planStartTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="PLAN_END_TIME" property="planEndTime"/> | 
					 | 
					 | 
					 | 
					        <result column="PLAN_END_TIME" property="planEndTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <result column="PLAN_HOURS" property="planHours"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="ACT_START_TIME" property="actStartTime"/> | 
					 | 
					 | 
					 | 
					        <result column="ACT_START_TIME" property="actStartTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="ACT_END_TIME" property="actEndTime"/> | 
					 | 
					 | 
					 | 
					        <result column="ACT_END_TIME" property="actEndTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="HOURS" property="hours"/> | 
					 | 
					 | 
					 | 
					        <result column="HOURS" property="hours"/> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -22,12 +25,19 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="CREATE_TIME" property="createTime"/> | 
					 | 
					 | 
					 | 
					        <result column="CREATE_TIME" property="createTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="UPDATE_USER" property="updateUser"/> | 
					 | 
					 | 
					 | 
					        <result column="UPDATE_USER" property="updateUser"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="UPDATE_TIME" property="updateTime"/> | 
					 | 
					 | 
					 | 
					        <result column="UPDATE_TIME" property="updateTime"/> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <collection property="details" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    select="com.hnac.hzims.operational.access.mapper.OperAccessTaskDetailMapper.selectByTaskId" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    column="TASK_ID"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </collection> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </resultMap> | 
					 | 
					 | 
					 | 
					    </resultMap> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="selectPageList" resultType="com.hnac.hzims.operational.access.vo.OperAccessStatisticsVO"> | 
					 | 
					 | 
					 | 
					    <select id="selectPageList" resultMap="BaseResultMap"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT OT.`NAME` AS taskName,OS.* FROM hzims_oper_access_statistics OS | 
					 | 
					 | 
					 | 
					        SELECT OT.`NAME` AS taskName,OS.* FROM hzims_oper_access_statistics OS | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        JOIN hzims_oper_access_task OT | 
					 | 
					 | 
					 | 
					        JOIN hzims_oper_access_task OT | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ON OS.`TASK_ID` = OT.`ID` | 
					 | 
					 | 
					 | 
					        ON OS.`TASK_ID` = OT.`ID` | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        WHERE OS.IS_DELETED = 0 | 
					 | 
					 | 
					 | 
					        WHERE OS.IS_DELETED = 0 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <if test="dto.emCode != null and dto.emCode != ''"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            and OS.emCode = #{dto.emCode} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <if test="dto.taskName != null"> | 
					 | 
					 | 
					 | 
					        <if test="dto.taskName != null"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            and OT.`NAME` like concat('%',#{dto.taskName},'%') | 
					 | 
					 | 
					 | 
					            and OT.`NAME` like concat('%',#{dto.taskName},'%') | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |