package com.yeejoin.amos.supervision.business.dao.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PlanTaskDetailMapper extends BaseMapper {
	void finishTaskDetail(@Param(value="planTaskDetailId") long planTaskDetailId, @Param(value="pointId") long pointId, @Param(value="planTaskId") long planTaskId
						, @Param(value="executorId") String executorId , @Param(value="executorName") String executorName , @Param(value="size") int size,@Param(value="planTaskStatus") String planTaskStatus );

	Map findPlanTaskByTaskIdAndPointId(@Param(value="planTaskId") long planTaskId,@Param(value="pointId") long pointId);

	int findPlanTaskDetailByTaskId( @Param(value="planTaskId") long planTaskId);

	/**
	 * 更新隐患信息
	 * @param planTaskDetailId 主键id
	 */
	void updateDanger(@Param(value="planTaskDetailId") long planTaskDetailId);
}
