<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.ticket.mapper.TPermitBlindPlateMapper">
    
    <resultMap type="TPermitBlindPlate" id="TPermitBlindPlateResult">
        <result property="bpId"    column="bp_id"    />
        <result property="aEquipmentName"    column="a_equipment_name"    />
        <result property="aEquipmentLeader"    column="a_equipment_leader"    />
        <result property="aEquipmentTel"    column="a_equipment_tel"    />
        <result property="aEquipmentOffice"    column="a_equipment_office"    />
        <result property="aConstructionName"    column="a_construction_name"    />
        <result property="aConstructionLeader"    column="a_construction_leader"    />
        <result property="aConstructionTel"    column="a_construction_tel"    />
        <result property="aConstructionOffice"    column="a_construction_office"    />
        <result property="aContractorName"    column="a_contractor_name"    />
        <result property="aContractorLeader"    column="a_contractor_leader"    />
        <result property="aContractorTel"    column="a_contractor_tel"    />
        <result property="aContractorOffice"    column="a_contractor_office"    />
        <result property="aIsNeedSafeLiaison"    column="a_is_need_safe_liaison"    />
        <result property="aSafeLiaisonName"    column="a_safe_liaison_name"    />
        <result property="aSafeLiaisonSign"    column="a_safe_liaison_sign"    />
        <result property="aSafeLiaisonTel"    column="a_safe_liaison_tel"    />
        <result property="aSafeLiaisonOffice"    column="a_safe_liaison_office"    />
        <result property="bDeviceName"    column="b_device_name"    />
        <result property="bAreaNo"    column="b_area_no"    />
        <result property="bWorkContent"    column="b_work_content"    />
        <result property="bValidityStartTime"    column="b_validity_start_time"    />
        <result property="bValidityEndTime"    column="b_validity_end_time"    />
        <result property="cHarmMatterName"    column="c_harm_matter_name"    />
        <result property="cIsGhs"    column="c_is_ghs"    />
        <result property="cIsToxic"    column="c_is_toxic"    />
        <result property="cIsFlammable"    column="c_is_flammable"    />
        <result property="cIsOxidizing"    column="c_is_oxidizing"    />
        <result property="cIsExplosive"    column="c_is_explosive"    />
        <result property="cIsCorrosive"    column="c_is_corrosive"    />
        <result property="cIsIrritantToxic"    column="c_is_irritant_toxic"    />
        <result property="cIsHealthHazard"    column="c_is_health_hazard"    />
        <result property="cIsCompressedGas"    column="c_is_compressed_gas"    />
        <result property="cIsEnvironmentalHazard"    column="c_is_environmental_hazard"    />
        <result property="cIsHighTemp"    column="c_is_high_temp"    />
        <result property="cIsLowTemp"    column="c_is_low_temp"    />
        <result property="cIsPosPressure"    column="c_is_pos_pressure"    />
        <result property="cIsNegPressure"    column="c_is_neg_pressure"    />
        <result property="cIsMovingParts"    column="c_is_moving_parts"    />
        <result property="cIsHotSurfaces"    column="c_is_hot_surfaces"    />
        <result property="cIsColdSurfaces"    column="c_is_cold_surfaces"    />
        <result property="cIsVoltages"    column="c_is_voltages"    />
        <result property="cIsWorkProtective"    column="c_is_work_protective"    />
        <result property="cIsOtherDanger"    column="c_is_other_danger"    />
        <result property="cOtherDangerContent"    column="c_other_danger_content"    />
        <result property="cIsHazardsProd"    column="c_is_hazards_prod"    />
        <result property="cIsHazardsProdContent"    column="c_is_hazards_prod_content"    />
        <result property="cIsDrain"    column="c_is_drain"    />
        <result property="cIsFall"    column="c_is_fall"    />
        <result property="cIsLighting"    column="c_is_lighting"    />
        <result property="cIsRay"    column="c_is_ray"    />
        <result property="cOtherId"    column="c_other_id"    />
        <result property="dPartitionNo"    column="d_partition_no"    />
        <result property="dMaterialQuality"    column="d_material_quality"    />
        <result property="dSpecifications"    column="d_specifications"    />
        <result property="dBlindPlateNo"    column="d_blind_plate_no"    />
        <result property="dIsOpenSafe"    column="d_is_open_safe"    />
        <result property="dIsBreakIncl"    column="d_is_break_incl"    />
        <result property="dBreakInclContent"    column="d_break_incl_content"    />
        <result property="dEleCircuitNo"    column="d_ele_circuit_no"    />
        <result property="dInsTagNo"    column="d_ins_tag_no"    />
        <result property="dIsRadioactiveSources"    column="d_is_radioactive_sources"    />
        <result property="dIsOtherEquSafe"    column="d_is_other_equ_safe"    />
        <result property="dIsOtherEquSafeContent"    column="d_is_other_equ_safe_content"    />
        <result property="dIsDepress"    column="d_is_depress"    />
        <result property="dIsSingleBlocking"    column="d_is_single_blocking"    />
        <result property="dIsDoubleBlock"    column="d_is_double_block"    />
        <result property="dIsLockoutUsing"    column="d_is_lockout_using"    />
        <result property="dLockoutUsingContent"    column="d_lockout_using_content"    />
        <result property="dIsRemovePipe"    column="d_is_remove_pipe"    />
        <result property="dIsMecSecure"    column="d_is_mec_secure"    />
        <result property="dMecSecureContent"    column="d_mec_secure_content"    />
        <result property="dIsOtherSafePlant"    column="d_is_other_safe_plant"    />
        <result property="dOtherSafePlantContent"    column="d_other_safe_plant_content"    />
        <result property="dIsDrain"    column="d_is_drain"    />
        <result property="dIsClean"    column="d_is_clean"    />
        <result property="dCleanContent"    column="d_clean_content"    />
        <result property="dIsFlush"    column="d_is_flush"    />
        <result property="dFlushContent"    column="d_flush_content"    />
        <result property="dIsOhterClean"    column="d_is_ohter_clean"    />
        <result property="dOtherCleanContent"    column="d_other_clean_content"    />
        <result property="dIsSiteDemarcation"    column="d_is_site_demarcation"    />
        <result property="dSiteDemarcationContent"    column="d_site_demarcation_content"    />
        <result property="dIsAreaCover"    column="d_is_area_cover"    />
        <result property="dAreaCoverContent"    column="d_area_cover_content"    />
        <result property="dIsCloseTrucks"    column="d_is_close_trucks"    />
        <result property="dIsLeakDrain"    column="d_is_leak_drain"    />
        <result property="dLeakDrainContent"    column="d_leak_drain_content"    />
        <result property="dIsOtherLight"    column="d_is_other_light"    />
        <result property="dOtherLightContent"    column="d_other_light_content"    />
        <result property="dIsOtherSafety"    column="d_is_other_safety"    />
        <result property="dIsOtherSafetyContent"    column="d_is_other_safety_content"    />
        <result property="dIsEffect"    column="d_is_effect"    />
        <result property="dEffectUnit"    column="d_effect_unit"    />
        <result property="dEffectLeader"    column="d_effect_leader"    />
        <result property="dEffectMeasure"    column="d_effect_measure"    />
        <result property="dIs30m"    column="d_is_30m"    />
        <result property="dIsOtherMeasure"    column="d_is_other_measure"    />
        <result property="dOtherMeasureContent"    column="d_other_measure_content"    />
        <result property="dPartakeBriefingSign"    column="d_partake_briefing_sign"    />
        <result property="dPartakeBriefingDate"    column="d_partake_briefing_date"    />
        <result property="dSafeImplSign21"    column="d_safe_impl_sign21"    />
        <result property="dSafeImplDate21"    column="d_safe_impl_date21"    />
        <result property="dSafeLiftedSign21"    column="d_safe_lifted_sign21"    />
        <result property="dSafeLiftedDate21"    column="d_safe_lifted_date21"    />
        <result property="dSafeImplSign22"    column="d_safe_impl_sign22"    />
        <result property="dSafeImplDate22"    column="d_safe_impl_date22"    />
        <result property="dSafeLiftedSign22"    column="d_safe_lifted_sign22"    />
        <result property="dSafeLiftedDate22"    column="d_safe_lifted_date22"    />
        <result property="dSafeImplSign23"    column="d_safe_impl_sign23"    />
        <result property="dSafeImplDate23"    column="d_safe_impl_date23"    />
        <result property="dSafeLiftedSign23"    column="d_safe_lifted_sign23"    />
        <result property="dSafeLiftedDate23"    column="d_safe_lifted_date23"    />
        <result property="dSafeImplSign24"    column="d_safe_impl_sign24"    />
        <result property="dSafeImplDate24"    column="d_safe_impl_date24"    />
        <result property="dSafeLiftedSign24"    column="d_safe_lifted_sign24"    />
        <result property="dSafeLiftedDate24"    column="d_safe_lifted_date24"    />
        <result property="dSafeImplSign31"    column="d_safe_impl_sign31"    />
        <result property="dSafeImplDate31"    column="d_safe_impl_date31"    />
        <result property="dSafeLiftedSign31"    column="d_safe_lifted_sign31"    />
        <result property="dSafeLiftedDate31"    column="d_safe_lifted_date31"    />
        <result property="dSafeImplSign32"    column="d_safe_impl_sign32"    />
        <result property="dSafeImplDate32"    column="d_safe_impl_date32"    />
        <result property="dSafeLiftedSign32"    column="d_safe_lifted_sign32"    />
        <result property="dSafeLiftedDate32"    column="d_safe_lifted_date32"    />
        <result property="dSafeImplSign33"    column="d_safe_impl_sign33"    />
        <result property="dSafeImplDate33"    column="d_safe_impl_date33"    />
        <result property="dSafeLiftedSign33"    column="d_safe_lifted_sign33"    />
        <result property="dSafeLiftedDate33"    column="d_safe_lifted_date33"    />
        <result property="dSafeImplSign34"    column="d_safe_impl_sign34"    />
        <result property="dSafeImplDate34"    column="d_safe_impl_date34"    />
        <result property="dSafeLiftedSign34"    column="d_safe_lifted_sign34"    />
        <result property="dSafeLiftedDate34"    column="d_safe_lifted_date34"    />
        <result property="dSafeImplSign35"    column="d_safe_impl_sign35"    />
        <result property="dSafeImplDate35"    column="d_safe_impl_date35"    />
        <result property="dSafeLiftedSign35"    column="d_safe_lifted_sign35"    />
        <result property="dSafeLiftedDate35"    column="d_safe_lifted_date35"    />
        <result property="dSafeImplSign36"    column="d_safe_impl_sign36"    />
        <result property="dSafeImplDate36"    column="d_safe_impl_date36"    />
        <result property="dSafeLiftedSign36"    column="d_safe_lifted_sign36"    />
        <result property="dSafeLiftedDate36"    column="d_safe_lifted_date36"    />
        <result property="dSafeImplSign37"    column="d_safe_impl_sign37"    />
        <result property="dSafeImplDate37"    column="d_safe_impl_date37"    />
        <result property="dSafeLiftedSign37"    column="d_safe_lifted_sign37"    />
        <result property="dSafeLiftedDate37"    column="d_safe_lifted_date37"    />
        <result property="dSafeImplSign41"    column="d_safe_impl_sign41"    />
        <result property="dSafeImplDate41"    column="d_safe_impl_date41"    />
        <result property="dSafeImplSign42"    column="d_safe_impl_sign42"    />
        <result property="dSafeImplDate42"    column="d_safe_impl_date42"    />
        <result property="dSafeImplSign43"    column="d_safe_impl_sign43"    />
        <result property="dSafeImplDate43"    column="d_safe_impl_date43"    />
        <result property="dSafeImplSign44"    column="d_safe_impl_sign44"    />
        <result property="dSafeImplDate44"    column="d_safe_impl_date44"    />
        <result property="dSafeImplSign51"    column="d_safe_impl_sign51"    />
        <result property="dSafeImplDate51"    column="d_safe_impl_date51"    />
        <result property="dSafeImplSign52"    column="d_safe_impl_sign52"    />
        <result property="dSafeImplDate52"    column="d_safe_impl_date52"    />
        <result property="dSafeLiftedSign52"    column="d_safe_lifted_sign52"    />
        <result property="dSafeLiftedDate52"    column="d_safe_lifted_date52"    />
        <result property="dSafeImplSign53"    column="d_safe_impl_sign53"    />
        <result property="dSafeImplDate53"    column="d_safe_impl_date53"    />
        <result property="dSafeLiftedSign53"    column="d_safe_lifted_sign53"    />
        <result property="dSafeLiftedDate53"    column="d_safe_lifted_date53"    />
        <result property="dSafeImplSign54"    column="d_safe_impl_sign54"    />
        <result property="dSafeImplDate54"    column="d_safe_impl_date54"    />
        <result property="dSafeLiftedSign54"    column="d_safe_lifted_sign54"    />
        <result property="dSafeLiftedDate54"    column="d_safe_lifted_date54"    />
        <result property="dSafeImplSign55"    column="d_safe_impl_sign55"    />
        <result property="dSafeImplDate55"    column="d_safe_impl_date55"    />
        <result property="dSafeLiftedSign55"    column="d_safe_lifted_sign55"    />
        <result property="dSafeLiftedDate55"    column="d_safe_lifted_date55"    />
        <result property="dSafeImplSign56"    column="d_safe_impl_sign56"    />
        <result property="dSafeImplDate56"    column="d_safe_impl_date56"    />
        <result property="dSafeImplSign57"    column="d_safe_impl_sign57"    />
        <result property="dSafeImplDate57"    column="d_safe_impl_date57"    />
        <result property="dSafeLiftedSign57"    column="d_safe_lifted_sign57"    />
        <result property="dSafeLiftedDate57"    column="d_safe_lifted_date57"    />
        <result property="dSafeImplSign58"    column="d_safe_impl_sign58"    />
        <result property="dSafeImplDate58"    column="d_safe_impl_date58"    />
        <result property="dSafeLiftedSign58"    column="d_safe_lifted_sign58"    />
        <result property="dSafeLiftedDate58"    column="d_safe_lifted_date58"    />
        <result property="dSafeImplSign61"    column="d_safe_impl_sign61"    />
        <result property="dSafeImplDate61"    column="d_safe_impl_date61"    />
        <result property="dSafeLiftedSign61"    column="d_safe_lifted_sign61"    />
        <result property="dSafeLiftedDate61"    column="d_safe_lifted_date61"    />
        <result property="eIsPresent"    column="e_is_present"    />
        <result property="eIsRequiredPpe"    column="e_is_required_ppe"    />
        <result property="ePpeContent"    column="e_ppe_content"    />
        <result property="eIsSafeGoggles"    column="e_is_safe_goggles"    />
        <result property="eIsFaceShield"    column="e_is_face_shield"    />
        <result property="eIsProtectGloves"    column="e_is_protect_gloves"    />
        <result property="eProtectGlovesContent"    column="e_protect_gloves_content"    />
        <result property="eIsRubberBoots"    column="e_is_rubber_boots"    />
        <result property="eIsRubberApron"    column="e_is_rubber_apron"    />
        <result property="eIsProtectSuit"    column="e_is_protect_suit"    />
        <result property="eProtectSuitContent"    column="e_protect_suit_content"    />
        <result property="eIsResProtect"    column="e_is_res_protect"    />
        <result property="eResProtectContent"    column="e_res_protect_content"    />
        <result property="eIsFallArrest"    column="e_is_fall_arrest"    />
        <result property="eFallArrestContent"    column="e_fall_arrest_content"    />
        <result property="eIsOtherProtect"    column="e_is_other_protect"    />
        <result property="eOtherProtectContent"    column="e_other_protect_content"    />
        <result property="eIsContinueMonitoring"    column="e_is_continue_monitoring"    />
        <result property="eSafeAttendant"    column="e_safe_attendant"    />
        <result property="eSafeAttendantSign"    column="e_safe_attendant_sign"    />
        <result property="eIsNaturalVen"    column="e_is_natural_ven"    />
        <result property="eNaturalVenContent"    column="e_natural_ven_content"    />
        <result property="eIsMecVen"    column="e_is_mec_ven"    />
        <result property="eMecVenContent"    column="e_mec_ven_content"    />
        <result property="eIsExxtractDust"    column="e_is_exxtract_dust"    />
        <result property="eIsAnalyzeAir"    column="e_is_analyze_air"    />
        <result property="eAnalyzeAirContent"    column="e_analyze_air_content"    />
        <result property="eAnalyzeAirInterval"    column="e_analyze_air_interval"    />
        <result property="eIsOtherVen"    column="e_is_other_ven"    />
        <result property="eOtherVenContent"    column="e_other_ven_content"    />
        <result property="eIsOtherSafety"    column="e_is_other_safety"    />
        <result property="eOtherSafetyContent"    column="e_other_safety_content"    />
        <result property="fIsAfterWorkSafe"    column="f_is_after_work_safe"    />
        <result property="fAfterWorkSafeContent"    column="f_after_work_safe_content"    />
        <result property="gFirstSign"    column="g_first_sign"    />
        <result property="gFirstDate"    column="g_first_date"    />
        <result property="gSecondSign"    column="g_second_sign"    />
        <result property="gSecondDate"    column="g_second_date"    />
        <result property="gThirdSign"    column="g_third_sign"    />
        <result property="gThirdDate"    column="g_third_date"    />
        <result property="gIsSpecialAssessment"    column="g_is_special_assessment"    />
        <result property="gSpecialAssessment"    column="g_special_assessment"    />
        <result property="hSafeMesSign"    column="h_safe_mes_sign"    />
        <result property="hSafeMesDate"    column="h_safe_mes_date"    />
        <result property="hSafeMesA4Sign"    column="h_safe_mes_a4_sign"    />
        <result property="hSafeMesA4Date"    column="h_safe_mes_a4_date"    />
        <result property="iOneASign"    column="i_one_a_sign"    />
        <result property="iOneADate"    column="i_one_a_date"    />
        <result property="iOneBSign"    column="i_one_b_sign"    />
        <result property="iOneBDate"    column="i_one_b_date"    />
        <result property="jOneBSign"    column="j_one_b_sign"    />
        <result property="jOneBDate"    column="j_one_b_date"    />
        <result property="jResMemberSign"    column="j_res_member_sign"    />
        <result property="jResMemberDate"    column="j_res_member_date"    />
        <result property="jEISign"    column="j_e_i_sign"    />
        <result property="jEIDate"    column="j_e_i_date"    />
        <result property="kConfirmSign"    column="k_confirm_sign"    />
        <result property="kConfirmDate"    column="k_confirm_date"    />
        <result property="lNoticeSign"    column="l_notice_sign"    />
        <result property="lNoticeDate"    column="l_notice_date"    />
        <result property="mAssessDContent"    column="m_assess_d_content"    />
        <result property="mAssessDSign"    column="m_assess_d_sign"    />
        <result property="mAssessDDate"    column="m_assess_d_date"    />
        <result property="mOtherLicenceOne"    column="m_other_licence_one"    />
        <result property="mOtherLicenceTwo"    column="m_other_licence_two"    />
        <result property="mOtherLicenceThree"    column="m_other_licence_three"    />
        <result property="wordUrl"    column="word_url"    />
        <result property="pdfUrl"    column="pdf_url"    />
        <result property="dIsDisFeeder"    column="d_is_dis_feeder"    />
        <result property="cIsYesDanger"    column="c_is_yes_danger"    />
        <result property="cIsEquipmentHazards"    column="c_is_equipment_hazards"    />
        <result property="cIsFacilityHazards"    column="c_is_facility_hazards"    />
        <result property="cIsOtherId"    column="c_is_other_id"    />
        <result property="eSafetySign1"    column="e_safety_sign1"    />
        <result property="eSafetySign2"    column="e_safety_sign2"    />
        <result property="eOther1"    column="e_other1"    />
        <result property="eOther2"    column="e_other2"    />
        <result property="eOther3"    column="e_other3"    />
        <result property="eOther4"    column="e_other4"    />
        <result property="deptName" column="dept_name" />
    </resultMap>

    <sql id="selectTPermitBlindPlateVo">
        select d.bp_id, d.e_other1, d.e_other2, d.e_other3, d.e_other4, d.e_safety_sign1, d.e_safety_sign2, d.c_is_drain, d.c_is_fall, d.c_is_lighting, d.c_is_ray, d.c_is_yes_danger, d.c_is_equipment_hazards, d.c_is_facility_hazards, d.c_is_other_id, d.a_equipment_name, d.a_equipment_leader, d.a_equipment_tel, d.a_equipment_office, d.a_construction_name, d.a_construction_leader, d.a_construction_tel, d.a_construction_office, d.a_contractor_name, d.a_contractor_leader, d.a_contractor_tel, d.a_contractor_office, d.a_is_need_safe_liaison, d.a_safe_liaison_name, d.a_safe_liaison_sign, d.a_safe_liaison_tel, d.a_safe_liaison_office, d.b_device_name, d.b_area_no, d.b_work_content, d.b_validity_start_time, d.b_validity_end_time, d.c_harm_matter_name, d.c_is_ghs, d.c_is_toxic, d.c_is_flammable, d.c_is_oxidizing, d.c_is_explosive, d.c_is_corrosive, d.c_is_irritant_toxic, d.c_is_health_hazard, d.c_is_compressed_gas, d.c_is_environmental_hazard, d.c_is_high_temp, d.c_is_low_temp, d.c_is_pos_pressure, d.c_is_neg_pressure, d.c_is_moving_parts, d.c_is_hot_surfaces, d.c_is_cold_surfaces, d.c_is_voltages, d.c_is_work_protective, d.c_is_other_danger, d.c_other_danger_content, d.c_is_hazards_prod, d.c_is_hazards_prod_content, d.c_is_drain, d.c_is_fall, d.c_is_lighting, d.c_is_ray, d.c_other_id, d.d_partition_no, d.d_material_quality, d.d_specifications, d.d_blind_plate_no, d.d_is_open_safe, d.d_is_break_incl, d.d_break_incl_content, d.d_ele_circuit_no, d.d_ins_tag_no, d.d_is_radioactive_sources, d.d_is_other_equ_safe, d.d_is_other_equ_safe_content, d.d_is_depress, d.d_is_single_blocking, d.d_is_double_block, d.d_is_lockout_using, d.d_lockout_using_content, d.d_is_remove_pipe, d.d_is_mec_secure, d.d_mec_secure_content, d.d_is_other_safe_plant, d.d_other_safe_plant_content, d.d_is_drain, d.d_is_clean, d.d_clean_content, d.d_is_flush, d.d_flush_content, d.d_is_ohter_clean, d.d_other_clean_content, d.d_is_site_demarcation, d.d_site_demarcation_content, d.d_is_area_cover, d.d_area_cover_content, d.d_is_close_trucks, d.d_is_leak_drain, d.d_leak_drain_content, d.d_is_other_light, d.d_other_light_content, d.d_is_other_safety, d.d_is_other_safety_content, d.d_is_effect, d.d_effect_unit, d.d_effect_leader, d.d_effect_measure, d.d_is_30m, d.d_is_other_measure, d.d_other_measure_content, d.d_partake_briefing_sign, d.d_partake_briefing_date, d.d_safe_impl_sign21, d.d_safe_impl_date21, d.d_safe_lifted_sign21, d.d_safe_lifted_date21, d.d_safe_impl_sign22, d.d_safe_impl_date22, d.d_safe_lifted_sign22, d.d_safe_lifted_date22, d.d_safe_impl_sign23, d.d_safe_impl_date23, d.d_safe_lifted_sign23, d.d_safe_lifted_date23, d.d_safe_impl_sign24, d.d_safe_impl_date24, d.d_safe_lifted_sign24, d.d_safe_lifted_date24, d.d_safe_impl_sign31, d.d_safe_impl_date31, d.d_safe_lifted_sign31, d.d_safe_lifted_date31, d.d_safe_impl_sign32, d.d_safe_impl_date32, d.d_safe_lifted_sign32, d.d_safe_lifted_date32, d.d_safe_impl_sign33, d.d_safe_impl_date33, d.d_safe_lifted_sign33, d.d_safe_lifted_date33, d.d_safe_impl_sign34, d.d_safe_impl_date34, d.d_safe_lifted_sign34, d.d_safe_lifted_date34, d.d_safe_impl_sign35, d.d_safe_impl_date35, d.d_safe_lifted_sign35, d.d_safe_lifted_date35, d.d_safe_impl_sign36, d.d_safe_impl_date36, d.d_safe_lifted_sign36, d.d_safe_lifted_date36, d.d_safe_impl_sign37, d.d_safe_impl_date37, d.d_safe_lifted_sign37, d.d_safe_lifted_date37, d.d_safe_impl_sign41, d.d_safe_impl_date41, d.d_safe_impl_sign42, d.d_safe_impl_date42, d.d_safe_impl_sign43, d.d_safe_impl_date43, d.d_safe_impl_sign44, d.d_safe_impl_date44, d.d_safe_impl_sign51, d.d_safe_impl_date51, d.d_safe_impl_sign52, d.d_safe_impl_date52, d.d_safe_lifted_sign52, d.d_safe_lifted_date52, d.d_safe_impl_sign53, d.d_safe_impl_date53, d.d_safe_lifted_sign53, d.d_safe_lifted_date53, d.d_safe_impl_sign54, d.d_safe_impl_date54, d.d_safe_lifted_sign54, d.d_safe_lifted_date54, d.d_safe_impl_sign55, d.d_safe_impl_date55, d.d_safe_lifted_sign55, d.d_safe_lifted_date55, d.d_safe_impl_sign56, d.d_safe_impl_date56, d.d_safe_impl_sign57, d.d_safe_impl_date57, d.d_safe_lifted_sign57, d.d_safe_lifted_date57, d.d_safe_impl_sign58, d.d_safe_impl_date58, d.d_safe_lifted_sign58, d.d_safe_lifted_date58, d.d_safe_impl_sign61, d.d_safe_impl_date61, d.d_safe_lifted_sign61, d.d_safe_lifted_date61, d.e_is_present, d.e_is_required_ppe, d.e_ppe_content, d.e_is_safe_goggles, d.e_is_face_shield, d.e_is_protect_gloves, d.e_protect_gloves_content, d.e_is_rubber_boots, d.e_is_rubber_apron, d.e_is_protect_suit, d.e_protect_suit_content, d.e_is_res_protect, d.e_res_protect_content, d.e_is_fall_arrest, d.e_fall_arrest_content, d.e_is_other_protect, d.e_other_protect_content, d.e_is_continue_monitoring, d.e_safe_attendant, d.e_safe_attendant_sign, d.e_is_natural_ven, d.e_natural_ven_content, d.e_is_mec_ven, d.e_mec_ven_content, d.e_is_exxtract_dust, d.e_is_analyze_air, d.e_analyze_air_content, d.e_analyze_air_interval, d.e_is_other_ven, d.e_other_ven_content, d.e_is_other_safety, d.e_other_safety_content, d.f_is_after_work_safe, d.f_after_work_safe_content, d.g_first_sign, d.g_first_date, d.g_second_sign, d.g_second_date, d.g_third_sign, d.g_third_date, d.g_is_special_assessment, d.g_special_assessment, d.h_safe_mes_sign, d.h_safe_mes_date, d.h_safe_mes_a4_sign, d.h_safe_mes_a4_date, d.i_one_a_sign, d.i_one_a_date, d.i_one_b_sign, d.i_one_b_date, d.j_one_b_sign, d.j_one_b_date, d.j_res_member_sign, d.j_res_member_date, d.j_e_i_sign, d.j_e_i_date, d.k_confirm_sign, d.k_confirm_date, d.l_notice_sign, d.l_notice_date, d.m_assess_d_content, d.m_assess_d_sign, d.m_assess_d_date, d.m_other_licence_one, d.m_other_licence_two, d.m_other_licence_three, d.word_url, d.pdf_url, d.d_is_dis_feeder from t_permit_blind_plate d
    </sql>

    <select id="selectTPermitBlindPlateList" parameterType="TPermitBlindPlate" resultMap="TPermitBlindPlateResult">
        <include refid="selectTPermitBlindPlateVo"/>
        <where>
            <if test="aEquipmentName != null  and aEquipmentName != ''"> and a_equipment_name like concat(concat('%', #{aEquipmentName}), '%')</if>
            <if test="aEquipmentLeader != null  and aEquipmentLeader != ''"> and a_equipment_leader = #{aEquipmentLeader}</if>
            <if test="aEquipmentTel != null  and aEquipmentTel != ''"> and a_equipment_tel = #{aEquipmentTel}</if>
            <if test="aEquipmentOffice != null  and aEquipmentOffice != ''"> and a_equipment_office = #{aEquipmentOffice}</if>
            <if test="aConstructionName != null  and aConstructionName != ''"> and a_construction_name like concat(concat('%', #{aConstructionName}), '%')</if>
            <if test="aConstructionLeader != null  and aConstructionLeader != ''"> and a_construction_leader = #{aConstructionLeader}</if>
            <if test="aConstructionTel != null  and aConstructionTel != ''"> and a_construction_tel = #{aConstructionTel}</if>
            <if test="aConstructionOffice != null  and aConstructionOffice != ''"> and a_construction_office = #{aConstructionOffice}</if>
            <if test="aContractorName != null  and aContractorName != ''"> and a_contractor_name like concat(concat('%', #{aContractorName}), '%')</if>
            <if test="aContractorLeader != null  and aContractorLeader != ''"> and a_contractor_leader = #{aContractorLeader}</if>
            <if test="aContractorTel != null  and aContractorTel != ''"> and a_contractor_tel = #{aContractorTel}</if>
            <if test="aContractorOffice != null  and aContractorOffice != ''"> and a_contractor_office = #{aContractorOffice}</if>
            <if test="aIsNeedSafeLiaison != null  and aIsNeedSafeLiaison != ''"> and a_is_need_safe_liaison = #{aIsNeedSafeLiaison}</if>
            <if test="aSafeLiaisonName != null  and aSafeLiaisonName != ''"> and a_safe_liaison_name like concat(concat('%', #{aSafeLiaisonName}), '%')</if>
            <if test="aSafeLiaisonSign != null  and aSafeLiaisonSign != ''"> and a_safe_liaison_sign = #{aSafeLiaisonSign}</if>
            <if test="aSafeLiaisonTel != null  and aSafeLiaisonTel != ''"> and a_safe_liaison_tel = #{aSafeLiaisonTel}</if>
            <if test="aSafeLiaisonOffice != null  and aSafeLiaisonOffice != ''"> and a_safe_liaison_office = #{aSafeLiaisonOffice}</if>
            <if test="bDeviceName != null  and bDeviceName != ''"> and b_device_name like concat(concat('%', #{bDeviceName}), '%')</if>
            <if test="bAreaNo != null  and bAreaNo != ''"> and b_area_no = #{bAreaNo}</if>
            <if test="bWorkContent != null  and bWorkContent != ''"> and b_work_content = #{bWorkContent}</if>
            <if test="bValidityStartTime != null "> and b_validity_start_time = #{bValidityStartTime}</if>
            <if test="bValidityEndTime != null "> and b_validity_end_time = #{bValidityEndTime}</if>
            <if test="cHarmMatterName != null  and cHarmMatterName != ''"> and c_harm_matter_name like concat(concat('%', #{cHarmMatterName}), '%')</if>
            <if test="cIsGhs != null  and cIsGhs != ''"> and c_is_ghs = #{cIsGhs}</if>
            <if test="cIsToxic != null  and cIsToxic != ''"> and c_is_toxic = #{cIsToxic}</if>
            <if test="cIsFlammable != null  and cIsFlammable != ''"> and c_is_flammable = #{cIsFlammable}</if>
            <if test="cIsOxidizing != null  and cIsOxidizing != ''"> and c_is_oxidizing = #{cIsOxidizing}</if>
            <if test="cIsExplosive != null  and cIsExplosive != ''"> and c_is_explosive = #{cIsExplosive}</if>
            <if test="cIsCorrosive != null  and cIsCorrosive != ''"> and c_is_corrosive = #{cIsCorrosive}</if>
            <if test="cIsIrritantToxic != null  and cIsIrritantToxic != ''"> and c_is_irritant_toxic = #{cIsIrritantToxic}</if>
            <if test="cIsHealthHazard != null  and cIsHealthHazard != ''"> and c_is_health_hazard = #{cIsHealthHazard}</if>
            <if test="cIsCompressedGas != null  and cIsCompressedGas != ''"> and c_is_compressed_gas = #{cIsCompressedGas}</if>
            <if test="cIsEnvironmentalHazard != null  and cIsEnvironmentalHazard != ''"> and c_is_environmental_hazard = #{cIsEnvironmentalHazard}</if>
            <if test="cIsHighTemp != null  and cIsHighTemp != ''"> and c_is_high_temp = #{cIsHighTemp}</if>
            <if test="cIsLowTemp != null  and cIsLowTemp != ''"> and c_is_low_temp = #{cIsLowTemp}</if>
            <if test="cIsPosPressure != null  and cIsPosPressure != ''"> and c_is_pos_pressure = #{cIsPosPressure}</if>
            <if test="cIsNegPressure != null  and cIsNegPressure != ''"> and c_is_neg_pressure = #{cIsNegPressure}</if>
            <if test="cIsMovingParts != null  and cIsMovingParts != ''"> and c_is_moving_parts = #{cIsMovingParts}</if>
            <if test="cIsHotSurfaces != null  and cIsHotSurfaces != ''"> and c_is_hot_surfaces = #{cIsHotSurfaces}</if>
            <if test="cIsColdSurfaces != null  and cIsColdSurfaces != ''"> and c_is_cold_surfaces = #{cIsColdSurfaces}</if>
            <if test="cIsVoltages != null  and cIsVoltages != ''"> and c_is_voltages = #{cIsVoltages}</if>
            <if test="cIsWorkProtective != null  and cIsWorkProtective != ''"> and c_is_work_protective = #{cIsWorkProtective}</if>
            <if test="cIsOtherDanger != null  and cIsOtherDanger != ''"> and c_is_other_danger = #{cIsOtherDanger}</if>
            <if test="cOtherDangerContent != null  and cOtherDangerContent != ''"> and c_other_danger_content = #{cOtherDangerContent}</if>
            <if test="cIsHazardsProd != null  and cIsHazardsProd != ''"> and c_is_hazards_prod = #{cIsHazardsProd}</if>
            <if test="cIsHazardsProdContent != null  and cIsHazardsProdContent != ''"> and c_is_hazards_prod_content = #{cIsHazardsProdContent}</if>
            <if test="cIsDrain != null  and cIsDrain != ''"> and c_is_drain = #{cIsDrain}</if>
            <if test="cIsFall != null  and cIsFall != ''"> and c_is_fall = #{cIsFall}</if>
            <if test="cIsLighting != null  and cIsLighting != ''"> and c_is_lighting = #{cIsLighting}</if>
            <if test="cIsRay != null  and cIsRay != ''"> and c_is_ray = #{cIsRay}</if>
            <if test="cOtherId != null  and cOtherId != ''"> and c_other_id = #{cOtherId}</if>
            <if test="dPartitionNo != null  and dPartitionNo != ''"> and d_partition_no = #{dPartitionNo}</if>
            <if test="dMaterialQuality != null  and dMaterialQuality != ''"> and d_material_quality = #{dMaterialQuality}</if>
            <if test="dSpecifications != null  and dSpecifications != ''"> and d_specifications = #{dSpecifications}</if>
            <if test="dBlindPlateNo != null  and dBlindPlateNo != ''"> and d_blind_plate_no = #{dBlindPlateNo}</if>
            <if test="dIsOpenSafe != null  and dIsOpenSafe != ''"> and d_is_open_safe = #{dIsOpenSafe}</if>
            <if test="dIsBreakIncl != null  and dIsBreakIncl != ''"> and d_is_break_incl = #{dIsBreakIncl}</if>
            <if test="dBreakInclContent != null  and dBreakInclContent != ''"> and d_break_incl_content = #{dBreakInclContent}</if>
            <if test="dEleCircuitNo != null  and dEleCircuitNo != ''"> and d_ele_circuit_no = #{dEleCircuitNo}</if>
            <if test="dInsTagNo != null  and dInsTagNo != ''"> and d_ins_tag_no = #{dInsTagNo}</if>
            <if test="dIsRadioactiveSources != null  and dIsRadioactiveSources != ''"> and d_is_radioactive_sources = #{dIsRadioactiveSources}</if>
            <if test="dIsOtherEquSafe != null  and dIsOtherEquSafe != ''"> and d_is_other_equ_safe = #{dIsOtherEquSafe}</if>
            <if test="dIsOtherEquSafeContent != null  and dIsOtherEquSafeContent != ''"> and d_is_other_equ_safe_content = #{dIsOtherEquSafeContent}</if>
            <if test="dIsDepress != null  and dIsDepress != ''"> and d_is_depress = #{dIsDepress}</if>
            <if test="dIsSingleBlocking != null  and dIsSingleBlocking != ''"> and d_is_single_blocking = #{dIsSingleBlocking}</if>
            <if test="dIsDoubleBlock != null  and dIsDoubleBlock != ''"> and d_is_double_block = #{dIsDoubleBlock}</if>
            <if test="dIsLockoutUsing != null  and dIsLockoutUsing != ''"> and d_is_lockout_using = #{dIsLockoutUsing}</if>
            <if test="dLockoutUsingContent != null  and dLockoutUsingContent != ''"> and d_lockout_using_content = #{dLockoutUsingContent}</if>
            <if test="dIsRemovePipe != null  and dIsRemovePipe != ''"> and d_is_remove_pipe = #{dIsRemovePipe}</if>
            <if test="dIsMecSecure != null  and dIsMecSecure != ''"> and d_is_mec_secure = #{dIsMecSecure}</if>
            <if test="dMecSecureContent != null  and dMecSecureContent != ''"> and d_mec_secure_content = #{dMecSecureContent}</if>
            <if test="dIsOtherSafePlant != null  and dIsOtherSafePlant != ''"> and d_is_other_safe_plant = #{dIsOtherSafePlant}</if>
            <if test="dOtherSafePlantContent != null  and dOtherSafePlantContent != ''"> and d_other_safe_plant_content = #{dOtherSafePlantContent}</if>
            <if test="dIsDrain != null  and dIsDrain != ''"> and d_is_drain = #{dIsDrain}</if>
            <if test="dIsClean != null  and dIsClean != ''"> and d_is_clean = #{dIsClean}</if>
            <if test="dCleanContent != null  and dCleanContent != ''"> and d_clean_content = #{dCleanContent}</if>
            <if test="dIsFlush != null  and dIsFlush != ''"> and d_is_flush = #{dIsFlush}</if>
            <if test="dFlushContent != null  and dFlushContent != ''"> and d_flush_content = #{dFlushContent}</if>
            <if test="dIsOhterClean != null  and dIsOhterClean != ''"> and d_is_ohter_clean = #{dIsOhterClean}</if>
            <if test="dOtherCleanContent != null  and dOtherCleanContent != ''"> and d_other_clean_content = #{dOtherCleanContent}</if>
            <if test="dIsSiteDemarcation != null  and dIsSiteDemarcation != ''"> and d_is_site_demarcation = #{dIsSiteDemarcation}</if>
            <if test="dSiteDemarcationContent != null  and dSiteDemarcationContent != ''"> and d_site_demarcation_content = #{dSiteDemarcationContent}</if>
            <if test="dIsAreaCover != null  and dIsAreaCover != ''"> and d_is_area_cover = #{dIsAreaCover}</if>
            <if test="dAreaCoverContent != null  and dAreaCoverContent != ''"> and d_area_cover_content = #{dAreaCoverContent}</if>
            <if test="dIsCloseTrucks != null  and dIsCloseTrucks != ''"> and d_is_close_trucks = #{dIsCloseTrucks}</if>
            <if test="dIsLeakDrain != null  and dIsLeakDrain != ''"> and d_is_leak_drain = #{dIsLeakDrain}</if>
            <if test="dLeakDrainContent != null  and dLeakDrainContent != ''"> and d_leak_drain_content = #{dLeakDrainContent}</if>
            <if test="dIsOtherLight != null  and dIsOtherLight != ''"> and d_is_other_light = #{dIsOtherLight}</if>
            <if test="dOtherLightContent != null  and dOtherLightContent != ''"> and d_other_light_content = #{dOtherLightContent}</if>
            <if test="dIsOtherSafety != null  and dIsOtherSafety != ''"> and d_is_other_safety = #{dIsOtherSafety}</if>
            <if test="dIsOtherSafetyContent != null  and dIsOtherSafetyContent != ''"> and d_is_other_safety_content = #{dIsOtherSafetyContent}</if>
            <if test="dIsEffect != null  and dIsEffect != ''"> and d_is_effect = #{dIsEffect}</if>
            <if test="dEffectUnit != null  and dEffectUnit != ''"> and d_effect_unit = #{dEffectUnit}</if>
            <if test="dEffectLeader != null  and dEffectLeader != ''"> and d_effect_leader = #{dEffectLeader}</if>
            <if test="dEffectMeasure != null  and dEffectMeasure != ''"> and d_effect_measure = #{dEffectMeasure}</if>
            <if test="dIs30m != null  and dIs30m != ''"> and d_is_30m = #{dIs30m}</if>
            <if test="dIsOtherMeasure != null  and dIsOtherMeasure != ''"> and d_is_other_measure = #{dIsOtherMeasure}</if>
            <if test="dOtherMeasureContent != null  and dOtherMeasureContent != ''"> and d_other_measure_content = #{dOtherMeasureContent}</if>
            <if test="dPartakeBriefingSign != null  and dPartakeBriefingSign != ''"> and d_partake_briefing_sign = #{dPartakeBriefingSign}</if>
            <if test="dPartakeBriefingDate != null "> and d_partake_briefing_date = #{dPartakeBriefingDate}</if>
            <if test="dSafeImplSign21 != null  and dSafeImplSign21 != ''"> and d_safe_impl_sign21 = #{dSafeImplSign21}</if>
            <if test="dSafeImplDate21 != null "> and d_safe_impl_date21 = #{dSafeImplDate21}</if>
            <if test="dSafeLiftedSign21 != null  and dSafeLiftedSign21 != ''"> and d_safe_lifted_sign21 = #{dSafeLiftedSign21}</if>
            <if test="dSafeLiftedDate21 != null "> and d_safe_lifted_date21 = #{dSafeLiftedDate21}</if>
            <if test="dSafeImplSign22 != null  and dSafeImplSign22 != ''"> and d_safe_impl_sign22 = #{dSafeImplSign22}</if>
            <if test="dSafeImplDate22 != null "> and d_safe_impl_date22 = #{dSafeImplDate22}</if>
            <if test="dSafeLiftedSign22 != null  and dSafeLiftedSign22 != ''"> and d_safe_lifted_sign22 = #{dSafeLiftedSign22}</if>
            <if test="dSafeLiftedDate22 != null "> and d_safe_lifted_date22 = #{dSafeLiftedDate22}</if>
            <if test="dSafeImplSign23 != null  and dSafeImplSign23 != ''"> and d_safe_impl_sign23 = #{dSafeImplSign23}</if>
            <if test="dSafeImplDate23 != null "> and d_safe_impl_date23 = #{dSafeImplDate23}</if>
            <if test="dSafeLiftedSign23 != null  and dSafeLiftedSign23 != ''"> and d_safe_lifted_sign23 = #{dSafeLiftedSign23}</if>
            <if test="dSafeLiftedDate23 != null "> and d_safe_lifted_date23 = #{dSafeLiftedDate23}</if>
            <if test="dSafeImplSign24 != null  and dSafeImplSign24 != ''"> and d_safe_impl_sign24 = #{dSafeImplSign24}</if>
            <if test="dSafeImplDate24 != null "> and d_safe_impl_date24 = #{dSafeImplDate24}</if>
            <if test="dSafeLiftedSign24 != null  and dSafeLiftedSign24 != ''"> and d_safe_lifted_sign24 = #{dSafeLiftedSign24}</if>
            <if test="dSafeLiftedDate24 != null "> and d_safe_lifted_date24 = #{dSafeLiftedDate24}</if>
            <if test="dSafeImplSign31 != null  and dSafeImplSign31 != ''"> and d_safe_impl_sign31 = #{dSafeImplSign31}</if>
            <if test="dSafeImplDate31 != null "> and d_safe_impl_date31 = #{dSafeImplDate31}</if>
            <if test="dSafeLiftedSign31 != null  and dSafeLiftedSign31 != ''"> and d_safe_lifted_sign31 = #{dSafeLiftedSign31}</if>
            <if test="dSafeLiftedDate31 != null "> and d_safe_lifted_date31 = #{dSafeLiftedDate31}</if>
            <if test="dSafeImplSign32 != null  and dSafeImplSign32 != ''"> and d_safe_impl_sign32 = #{dSafeImplSign32}</if>
            <if test="dSafeImplDate32 != null "> and d_safe_impl_date32 = #{dSafeImplDate32}</if>
            <if test="dSafeLiftedSign32 != null  and dSafeLiftedSign32 != ''"> and d_safe_lifted_sign32 = #{dSafeLiftedSign32}</if>
            <if test="dSafeLiftedDate32 != null "> and d_safe_lifted_date32 = #{dSafeLiftedDate32}</if>
            <if test="dSafeImplSign33 != null  and dSafeImplSign33 != ''"> and d_safe_impl_sign33 = #{dSafeImplSign33}</if>
            <if test="dSafeImplDate33 != null "> and d_safe_impl_date33 = #{dSafeImplDate33}</if>
            <if test="dSafeLiftedSign33 != null  and dSafeLiftedSign33 != ''"> and d_safe_lifted_sign33 = #{dSafeLiftedSign33}</if>
            <if test="dSafeLiftedDate33 != null "> and d_safe_lifted_date33 = #{dSafeLiftedDate33}</if>
            <if test="dSafeImplSign34 != null  and dSafeImplSign34 != ''"> and d_safe_impl_sign34 = #{dSafeImplSign34}</if>
            <if test="dSafeImplDate34 != null "> and d_safe_impl_date34 = #{dSafeImplDate34}</if>
            <if test="dSafeLiftedSign34 != null  and dSafeLiftedSign34 != ''"> and d_safe_lifted_sign34 = #{dSafeLiftedSign34}</if>
            <if test="dSafeLiftedDate34 != null "> and d_safe_lifted_date34 = #{dSafeLiftedDate34}</if>
            <if test="dSafeImplSign35 != null  and dSafeImplSign35 != ''"> and d_safe_impl_sign35 = #{dSafeImplSign35}</if>
            <if test="dSafeImplDate35 != null "> and d_safe_impl_date35 = #{dSafeImplDate35}</if>
            <if test="dSafeLiftedSign35 != null  and dSafeLiftedSign35 != ''"> and d_safe_lifted_sign35 = #{dSafeLiftedSign35}</if>
            <if test="dSafeLiftedDate35 != null "> and d_safe_lifted_date35 = #{dSafeLiftedDate35}</if>
            <if test="dSafeImplSign36 != null  and dSafeImplSign36 != ''"> and d_safe_impl_sign36 = #{dSafeImplSign36}</if>
            <if test="dSafeImplDate36 != null "> and d_safe_impl_date36 = #{dSafeImplDate36}</if>
            <if test="dSafeLiftedSign36 != null  and dSafeLiftedSign36 != ''"> and d_safe_lifted_sign36 = #{dSafeLiftedSign36}</if>
            <if test="dSafeLiftedDate36 != null "> and d_safe_lifted_date36 = #{dSafeLiftedDate36}</if>
            <if test="dSafeImplSign37 != null  and dSafeImplSign37 != ''"> and d_safe_impl_sign37 = #{dSafeImplSign37}</if>
            <if test="dSafeImplDate37 != null "> and d_safe_impl_date37 = #{dSafeImplDate37}</if>
            <if test="dSafeLiftedSign37 != null  and dSafeLiftedSign37 != ''"> and d_safe_lifted_sign37 = #{dSafeLiftedSign37}</if>
            <if test="dSafeLiftedDate37 != null "> and d_safe_lifted_date37 = #{dSafeLiftedDate37}</if>
            <if test="dSafeImplSign41 != null  and dSafeImplSign41 != ''"> and d_safe_impl_sign41 = #{dSafeImplSign41}</if>
            <if test="dSafeImplDate41 != null "> and d_safe_impl_date41 = #{dSafeImplDate41}</if>
            <if test="dSafeImplSign42 != null  and dSafeImplSign42 != ''"> and d_safe_impl_sign42 = #{dSafeImplSign42}</if>
            <if test="dSafeImplDate42 != null "> and d_safe_impl_date42 = #{dSafeImplDate42}</if>
            <if test="dSafeImplSign43 != null  and dSafeImplSign43 != ''"> and d_safe_impl_sign43 = #{dSafeImplSign43}</if>
            <if test="dSafeImplDate43 != null "> and d_safe_impl_date43 = #{dSafeImplDate43}</if>
            <if test="dSafeImplSign44 != null  and dSafeImplSign44 != ''"> and d_safe_impl_sign44 = #{dSafeImplSign44}</if>
            <if test="dSafeImplDate44 != null "> and d_safe_impl_date44 = #{dSafeImplDate44}</if>
            <if test="dSafeImplSign51 != null  and dSafeImplSign51 != ''"> and d_safe_impl_sign51 = #{dSafeImplSign51}</if>
            <if test="dSafeImplDate51 != null "> and d_safe_impl_date51 = #{dSafeImplDate51}</if>
            <if test="dSafeImplSign52 != null  and dSafeImplSign52 != ''"> and d_safe_impl_sign52 = #{dSafeImplSign52}</if>
            <if test="dSafeImplDate52 != null "> and d_safe_impl_date52 = #{dSafeImplDate52}</if>
            <if test="dSafeLiftedSign52 != null  and dSafeLiftedSign52 != ''"> and d_safe_lifted_sign52 = #{dSafeLiftedSign52}</if>
            <if test="dSafeLiftedDate52 != null "> and d_safe_lifted_date52 = #{dSafeLiftedDate52}</if>
            <if test="dSafeImplSign53 != null  and dSafeImplSign53 != ''"> and d_safe_impl_sign53 = #{dSafeImplSign53}</if>
            <if test="dSafeImplDate53 != null "> and d_safe_impl_date53 = #{dSafeImplDate53}</if>
            <if test="dSafeLiftedSign53 != null  and dSafeLiftedSign53 != ''"> and d_safe_lifted_sign53 = #{dSafeLiftedSign53}</if>
            <if test="dSafeLiftedDate53 != null "> and d_safe_lifted_date53 = #{dSafeLiftedDate53}</if>
            <if test="dSafeImplSign54 != null  and dSafeImplSign54 != ''"> and d_safe_impl_sign54 = #{dSafeImplSign54}</if>
            <if test="dSafeImplDate54 != null "> and d_safe_impl_date54 = #{dSafeImplDate54}</if>
            <if test="dSafeLiftedSign54 != null  and dSafeLiftedSign54 != ''"> and d_safe_lifted_sign54 = #{dSafeLiftedSign54}</if>
            <if test="dSafeLiftedDate54 != null "> and d_safe_lifted_date54 = #{dSafeLiftedDate54}</if>
            <if test="dSafeImplSign55 != null  and dSafeImplSign55 != ''"> and d_safe_impl_sign55 = #{dSafeImplSign55}</if>
            <if test="dSafeImplDate55 != null "> and d_safe_impl_date55 = #{dSafeImplDate55}</if>
            <if test="dSafeLiftedSign55 != null  and dSafeLiftedSign55 != ''"> and d_safe_lifted_sign55 = #{dSafeLiftedSign55}</if>
            <if test="dSafeLiftedDate55 != null "> and d_safe_lifted_date55 = #{dSafeLiftedDate55}</if>
            <if test="dSafeImplSign56 != null  and dSafeImplSign56 != ''"> and d_safe_impl_sign56 = #{dSafeImplSign56}</if>
            <if test="dSafeImplDate56 != null "> and d_safe_impl_date56 = #{dSafeImplDate56}</if>
            <if test="dSafeImplSign57 != null  and dSafeImplSign57 != ''"> and d_safe_impl_sign57 = #{dSafeImplSign57}</if>
            <if test="dSafeImplDate57 != null "> and d_safe_impl_date57 = #{dSafeImplDate57}</if>
            <if test="dSafeLiftedSign57 != null  and dSafeLiftedSign57 != ''"> and d_safe_lifted_sign57 = #{dSafeLiftedSign57}</if>
            <if test="dSafeLiftedDate57 != null "> and d_safe_lifted_date57 = #{dSafeLiftedDate57}</if>
            <if test="dSafeImplSign58 != null  and dSafeImplSign58 != ''"> and d_safe_impl_sign58 = #{dSafeImplSign58}</if>
            <if test="dSafeImplDate58 != null "> and d_safe_impl_date58 = #{dSafeImplDate58}</if>
            <if test="dSafeLiftedSign58 != null  and dSafeLiftedSign58 != ''"> and d_safe_lifted_sign58 = #{dSafeLiftedSign58}</if>
            <if test="dSafeLiftedDate58 != null "> and d_safe_lifted_date58 = #{dSafeLiftedDate58}</if>
            <if test="dSafeImplSign61 != null  and dSafeImplSign61 != ''"> and d_safe_impl_sign61 = #{dSafeImplSign61}</if>
            <if test="dSafeImplDate61 != null "> and d_safe_impl_date61 = #{dSafeImplDate61}</if>
            <if test="dSafeLiftedSign61 != null  and dSafeLiftedSign61 != ''"> and d_safe_lifted_sign61 = #{dSafeLiftedSign61}</if>
            <if test="dSafeLiftedDate61 != null "> and d_safe_lifted_date61 = #{dSafeLiftedDate61}</if>
            <if test="eIsPresent != null  and eIsPresent != ''"> and e_is_present = #{eIsPresent}</if>
            <if test="eIsRequiredPpe != null  and eIsRequiredPpe != ''"> and e_is_required_ppe = #{eIsRequiredPpe}</if>
            <if test="ePpeContent != null  and ePpeContent != ''"> and e_ppe_content = #{ePpeContent}</if>
            <if test="eIsSafeGoggles != null  and eIsSafeGoggles != ''"> and e_is_safe_goggles = #{eIsSafeGoggles}</if>
            <if test="eIsFaceShield != null  and eIsFaceShield != ''"> and e_is_face_shield = #{eIsFaceShield}</if>
            <if test="eIsProtectGloves != null  and eIsProtectGloves != ''"> and e_is_protect_gloves = #{eIsProtectGloves}</if>
            <if test="eProtectGlovesContent != null  and eProtectGlovesContent != ''"> and e_protect_gloves_content = #{eProtectGlovesContent}</if>
            <if test="eIsRubberBoots != null  and eIsRubberBoots != ''"> and e_is_rubber_boots = #{eIsRubberBoots}</if>
            <if test="eIsRubberApron != null  and eIsRubberApron != ''"> and e_is_rubber_apron = #{eIsRubberApron}</if>
            <if test="eIsProtectSuit != null  and eIsProtectSuit != ''"> and e_is_protect_suit = #{eIsProtectSuit}</if>
            <if test="eProtectSuitContent != null  and eProtectSuitContent != ''"> and e_protect_suit_content = #{eProtectSuitContent}</if>
            <if test="eIsResProtect != null  and eIsResProtect != ''"> and e_is_res_protect = #{eIsResProtect}</if>
            <if test="eResProtectContent != null  and eResProtectContent != ''"> and e_res_protect_content = #{eResProtectContent}</if>
            <if test="eIsFallArrest != null  and eIsFallArrest != ''"> and e_is_fall_arrest = #{eIsFallArrest}</if>
            <if test="eFallArrestContent != null  and eFallArrestContent != ''"> and e_fall_arrest_content = #{eFallArrestContent}</if>
            <if test="eIsOtherProtect != null  and eIsOtherProtect != ''"> and e_is_other_protect = #{eIsOtherProtect}</if>
            <if test="eOtherProtectContent != null  and eOtherProtectContent != ''"> and e_other_protect_content = #{eOtherProtectContent}</if>
            <if test="eIsContinueMonitoring != null  and eIsContinueMonitoring != ''"> and e_is_continue_monitoring = #{eIsContinueMonitoring}</if>
            <if test="eSafeAttendant != null  and eSafeAttendant != ''"> and e_safe_attendant = #{eSafeAttendant}</if>
            <if test="eSafeAttendantSign != null  and eSafeAttendantSign != ''"> and e_safe_attendant_sign = #{eSafeAttendantSign}</if>
            <if test="eIsNaturalVen != null  and eIsNaturalVen != ''"> and e_is_natural_ven = #{eIsNaturalVen}</if>
            <if test="eNaturalVenContent != null  and eNaturalVenContent != ''"> and e_natural_ven_content = #{eNaturalVenContent}</if>
            <if test="eIsMecVen != null  and eIsMecVen != ''"> and e_is_mec_ven = #{eIsMecVen}</if>
            <if test="eMecVenContent != null  and eMecVenContent != ''"> and e_mec_ven_content = #{eMecVenContent}</if>
            <if test="eIsExxtractDust != null  and eIsExxtractDust != ''"> and e_is_exxtract_dust = #{eIsExxtractDust}</if>
            <if test="eIsAnalyzeAir != null  and eIsAnalyzeAir != ''"> and e_is_analyze_air = #{eIsAnalyzeAir}</if>
            <if test="eAnalyzeAirContent != null  and eAnalyzeAirContent != ''"> and e_analyze_air_content = #{eAnalyzeAirContent}</if>
            <if test="eAnalyzeAirInterval != null  and eAnalyzeAirInterval != ''"> and e_analyze_air_interval = #{eAnalyzeAirInterval}</if>
            <if test="eIsOtherVen != null  and eIsOtherVen != ''"> and e_is_other_ven = #{eIsOtherVen}</if>
            <if test="eOtherVenContent != null  and eOtherVenContent != ''"> and e_other_ven_content = #{eOtherVenContent}</if>
            <if test="eIsOtherSafety != null  and eIsOtherSafety != ''"> and e_is_other_safety = #{eIsOtherSafety}</if>
            <if test="eOtherSafetyContent != null  and eOtherSafetyContent != ''"> and e_other_safety_content = #{eOtherSafetyContent}</if>
            <if test="fIsAfterWorkSafe != null  and fIsAfterWorkSafe != ''"> and f_is_after_work_safe = #{fIsAfterWorkSafe}</if>
            <if test="fAfterWorkSafeContent != null  and fAfterWorkSafeContent != ''"> and f_after_work_safe_content = #{fAfterWorkSafeContent}</if>
            <if test="gFirstSign != null  and gFirstSign != ''"> and g_first_sign = #{gFirstSign}</if>
            <if test="gFirstDate != null "> and g_first_date = #{gFirstDate}</if>
            <if test="gSecondSign != null  and gSecondSign != ''"> and g_second_sign = #{gSecondSign}</if>
            <if test="gSecondDate != null "> and g_second_date = #{gSecondDate}</if>
            <if test="gThirdSign != null  and gThirdSign != ''"> and g_third_sign = #{gThirdSign}</if>
            <if test="gThirdDate != null "> and g_third_date = #{gThirdDate}</if>
            <if test="gIsSpecialAssessment != null  and gIsSpecialAssessment != ''"> and g_is_special_assessment = #{gIsSpecialAssessment}</if>
            <if test="gSpecialAssessment != null  and gSpecialAssessment != ''"> and g_special_assessment = #{gSpecialAssessment}</if>
            <if test="hSafeMesSign != null  and hSafeMesSign != ''"> and h_safe_mes_sign = #{hSafeMesSign}</if>
            <if test="hSafeMesDate != null "> and h_safe_mes_date = #{hSafeMesDate}</if>
            <if test="hSafeMesA4Sign != null  and hSafeMesA4Sign != ''"> and h_safe_mes_a4_sign = #{hSafeMesA4Sign}</if>
            <if test="hSafeMesA4Date != null "> and h_safe_mes_a4_date = #{hSafeMesA4Date}</if>
            <if test="iOneASign != null  and iOneASign != ''"> and i_one_a_sign = #{iOneASign}</if>
            <if test="iOneADate != null "> and i_one_a_date = #{iOneADate}</if>
            <if test="iOneBSign != null  and iOneBSign != ''"> and i_one_b_sign = #{iOneBSign}</if>
            <if test="iOneBDate != null "> and i_one_b_date = #{iOneBDate}</if>
            <if test="jOneBSign != null  and jOneBSign != ''"> and j_one_b_sign = #{jOneBSign}</if>
            <if test="jOneBDate != null "> and j_one_b_date = #{jOneBDate}</if>
            <if test="jResMemberSign != null  and jResMemberSign != ''"> and j_res_member_sign = #{jResMemberSign}</if>
            <if test="jResMemberDate != null "> and j_res_member_date = #{jResMemberDate}</if>
            <if test="jEISign != null  and jEISign != ''"> and j_e_i_sign = #{jEISign}</if>
            <if test="jEIDate != null "> and j_e_i_date = #{jEIDate}</if>
            <if test="kConfirmSign != null  and kConfirmSign != ''"> and k_confirm_sign = #{kConfirmSign}</if>
            <if test="kConfirmDate != null "> and k_confirm_date = #{kConfirmDate}</if>
            <if test="lNoticeSign != null  and lNoticeSign != ''"> and l_notice_sign = #{lNoticeSign}</if>
            <if test="lNoticeDate != null "> and l_notice_date = #{lNoticeDate}</if>
            <if test="mAssessDContent != null  and mAssessDContent != ''"> and m_assess_d_content = #{mAssessDContent}</if>
            <if test="mAssessDSign != null  and mAssessDSign != ''"> and m_assess_d_sign = #{mAssessDSign}</if>
            <if test="mAssessDDate != null "> and m_assess_d_date = #{mAssessDDate}</if>
            <if test="mOtherLicenceOne != null "> and m_other_licence_one = #{mOtherLicenceOne}</if>
            <if test="mOtherLicenceTwo != null "> and m_other_licence_two = #{mOtherLicenceTwo}</if>
            <if test="mOtherLicenceThree != null "> and m_other_licence_three = #{mOtherLicenceThree}</if>
            <if test="wordUrl != null  and wordUrl != ''"> and word_url = #{wordUrl}</if>
            <if test="pdfUrl != null  and pdfUrl != ''"> and pdf_url = #{pdfUrl}</if>
            <if test="dIsDisFeeder != null  and dIsDisFeeder != ''"> and d_is_dis_feeder = #{dIsDisFeeder}</if>
            <if test="cIsYesDanger != null  and cIsYesDanger != ''"> and c_is_yes_danger = #{cIsYesDanger}</if>
            <if test="cIsEquipmentHazards != null  and cIsEquipmentHazards != ''"> and c_is_equipment_hazards = #{cIsEquipmentHazards}</if>
            <if test="cIsFacilityHazards != null  and cIsFacilityHazards != ''"> and c_is_facility_hazards = #{cIsFacilityHazards}</if>
            <if test="cIsOtherId != null  and cIsOtherId != ''"> and c_is_other_id = #{cIsOtherId}</if>
            <if test="eSafetySign1 != null  and eSafetySign1 != ''"> and e_safety_sign1 = #{eSafetySign1}</if>
            <if test="eSafetySign2 != null  and eSafetySign2 != ''"> and e_safety_sign2 = #{eSafetySign2}</if>
            <if test="eOther1 != null  and eOther1 != ''"> and e_other1 = #{eOther1}</if>
            <if test="eOther2 != null  and eOther2 != ''"> and e_other2 = #{eOther2}</if>
            <if test="eOther3 != null  and eOther3 != ''"> and e_other3 = #{eOther3}</if>
            <if test="eOther4 != null  and eOther4 != ''"> and e_other4 = #{eOther4}</if>
            and d.del_flag = 0
        </where>
        <!-- 数据范围过滤 -->
        ${params.dataScope}
    </select>
    
    <select id="selectTPermitBlindPlateById" parameterType="Long" resultMap="TPermitBlindPlateResult">
        <include refid="selectTPermitBlindPlateVo"/>
        where bp_id = #{bpId}
    </select>
        
    <insert id="insertTPermitBlindPlate" parameterType="TPermitBlindPlate">
        <!--<selectKey keyProperty="bpId" resultType="long" order="BEFORE">-->
            <!--SELECT seq_t_permit_blind_plate.NEXTVAL as bpId FROM DUAL-->
        <!--</selectKey>-->
        insert into t_permit_blind_plate
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="bpId != null">bp_id,</if>
            <if test="aEquipmentName != null">a_equipment_name,</if>
            <if test="aEquipmentLeader != null">a_equipment_leader,</if>
            <if test="aEquipmentTel != null">a_equipment_tel,</if>
            <if test="aEquipmentOffice != null">a_equipment_office,</if>
            <if test="aConstructionName != null">a_construction_name,</if>
            <if test="aConstructionLeader != null">a_construction_leader,</if>
            <if test="aConstructionTel != null">a_construction_tel,</if>
            <if test="aConstructionOffice != null">a_construction_office,</if>
            <if test="aContractorName != null">a_contractor_name,</if>
            <if test="aContractorLeader != null">a_contractor_leader,</if>
            <if test="aContractorTel != null">a_contractor_tel,</if>
            <if test="aContractorOffice != null">a_contractor_office,</if>
            <if test="aIsNeedSafeLiaison != null">a_is_need_safe_liaison,</if>
            <if test="aSafeLiaisonName != null">a_safe_liaison_name,</if>
            <if test="aSafeLiaisonSign != null">a_safe_liaison_sign,</if>
            <if test="aSafeLiaisonTel != null">a_safe_liaison_tel,</if>
            <if test="aSafeLiaisonOffice != null">a_safe_liaison_office,</if>
            <if test="bDeviceName != null">b_device_name,</if>
            <if test="bAreaNo != null">b_area_no,</if>
            <if test="bWorkContent != null">b_work_content,</if>
            <if test="bValidityStartTime != null">b_validity_start_time,</if>
            <if test="bValidityEndTime != null">b_validity_end_time,</if>
            <if test="cHarmMatterName != null">c_harm_matter_name,</if>
            <if test="cIsGhs != null">c_is_ghs,</if>
            <if test="cIsToxic != null">c_is_toxic,</if>
            <if test="cIsFlammable != null">c_is_flammable,</if>
            <if test="cIsOxidizing != null">c_is_oxidizing,</if>
            <if test="cIsExplosive != null">c_is_explosive,</if>
            <if test="cIsCorrosive != null">c_is_corrosive,</if>
            <if test="cIsIrritantToxic != null">c_is_irritant_toxic,</if>
            <if test="cIsHealthHazard != null">c_is_health_hazard,</if>
            <if test="cIsCompressedGas != null">c_is_compressed_gas,</if>
            <if test="cIsEnvironmentalHazard != null">c_is_environmental_hazard,</if>
            <if test="cIsHighTemp != null">c_is_high_temp,</if>
            <if test="cIsLowTemp != null">c_is_low_temp,</if>
            <if test="cIsPosPressure != null">c_is_pos_pressure,</if>
            <if test="cIsNegPressure != null">c_is_neg_pressure,</if>
            <if test="cIsMovingParts != null">c_is_moving_parts,</if>
            <if test="cIsHotSurfaces != null">c_is_hot_surfaces,</if>
            <if test="cIsColdSurfaces != null">c_is_cold_surfaces,</if>
            <if test="cIsVoltages != null">c_is_voltages,</if>
            <if test="cIsWorkProtective != null">c_is_work_protective,</if>
            <if test="cIsOtherDanger != null">c_is_other_danger,</if>
            <if test="cOtherDangerContent != null">c_other_danger_content,</if>
            <if test="cIsHazardsProd != null">c_is_hazards_prod,</if>
            <if test="cIsHazardsProdContent != null">c_is_hazards_prod_content,</if>
            <if test="cIsDrain != null">c_is_drain,</if>
            <if test="cIsFall != null">c_is_fall,</if>
            <if test="cIsLighting != null">c_is_lighting,</if>
            <if test="cIsRay != null">c_is_ray,</if>
            <if test="cOtherId != null">c_other_id,</if>
            <if test="dPartitionNo != null">d_partition_no,</if>
            <if test="dMaterialQuality != null">d_material_quality,</if>
            <if test="dSpecifications != null">d_specifications,</if>
            <if test="dBlindPlateNo != null">d_blind_plate_no,</if>
            <if test="dIsOpenSafe != null">d_is_open_safe,</if>
            <if test="dIsBreakIncl != null">d_is_break_incl,</if>
            <if test="dBreakInclContent != null">d_break_incl_content,</if>
            <if test="dEleCircuitNo != null">d_ele_circuit_no,</if>
            <if test="dInsTagNo != null">d_ins_tag_no,</if>
            <if test="dIsRadioactiveSources != null">d_is_radioactive_sources,</if>
            <if test="dIsOtherEquSafe != null">d_is_other_equ_safe,</if>
            <if test="dIsOtherEquSafeContent != null">d_is_other_equ_safe_content,</if>
            <if test="dIsDepress != null">d_is_depress,</if>
            <if test="dIsSingleBlocking != null">d_is_single_blocking,</if>
            <if test="dIsDoubleBlock != null">d_is_double_block,</if>
            <if test="dIsLockoutUsing != null">d_is_lockout_using,</if>
            <if test="dLockoutUsingContent != null">d_lockout_using_content,</if>
            <if test="dIsRemovePipe != null">d_is_remove_pipe,</if>
            <if test="dIsMecSecure != null">d_is_mec_secure,</if>
            <if test="dMecSecureContent != null">d_mec_secure_content,</if>
            <if test="dIsOtherSafePlant != null">d_is_other_safe_plant,</if>
            <if test="dOtherSafePlantContent != null">d_other_safe_plant_content,</if>
            <if test="dIsDrain != null">d_is_drain,</if>
            <if test="dIsClean != null">d_is_clean,</if>
            <if test="dCleanContent != null">d_clean_content,</if>
            <if test="dIsFlush != null">d_is_flush,</if>
            <if test="dFlushContent != null">d_flush_content,</if>
            <if test="dIsOhterClean != null">d_is_ohter_clean,</if>
            <if test="dOtherCleanContent != null">d_other_clean_content,</if>
            <if test="dIsSiteDemarcation != null">d_is_site_demarcation,</if>
            <if test="dSiteDemarcationContent != null">d_site_demarcation_content,</if>
            <if test="dIsAreaCover != null">d_is_area_cover,</if>
            <if test="dAreaCoverContent != null">d_area_cover_content,</if>
            <if test="dIsCloseTrucks != null">d_is_close_trucks,</if>
            <if test="dIsLeakDrain != null">d_is_leak_drain,</if>
            <if test="dLeakDrainContent != null">d_leak_drain_content,</if>
            <if test="dIsOtherLight != null">d_is_other_light,</if>
            <if test="dOtherLightContent != null">d_other_light_content,</if>
            <if test="dIsOtherSafety != null">d_is_other_safety,</if>
            <if test="dIsOtherSafetyContent != null">d_is_other_safety_content,</if>
            <if test="dIsEffect != null">d_is_effect,</if>
            <if test="dEffectUnit != null">d_effect_unit,</if>
            <if test="dEffectLeader != null">d_effect_leader,</if>
            <if test="dEffectMeasure != null">d_effect_measure,</if>
            <if test="dIs30m != null">d_is_30m,</if>
            <if test="dIsOtherMeasure != null">d_is_other_measure,</if>
            <if test="dOtherMeasureContent != null">d_other_measure_content,</if>
            <if test="dPartakeBriefingSign != null">d_partake_briefing_sign,</if>
            <if test="dPartakeBriefingDate != null">d_partake_briefing_date,</if>
            <if test="dSafeImplSign21 != null">d_safe_impl_sign21,</if>
            <if test="dSafeImplDate21 != null">d_safe_impl_date21,</if>
            <if test="dSafeLiftedSign21 != null">d_safe_lifted_sign21,</if>
            <if test="dSafeLiftedDate21 != null">d_safe_lifted_date21,</if>
            <if test="dSafeImplSign22 != null">d_safe_impl_sign22,</if>
            <if test="dSafeImplDate22 != null">d_safe_impl_date22,</if>
            <if test="dSafeLiftedSign22 != null">d_safe_lifted_sign22,</if>
            <if test="dSafeLiftedDate22 != null">d_safe_lifted_date22,</if>
            <if test="dSafeImplSign23 != null">d_safe_impl_sign23,</if>
            <if test="dSafeImplDate23 != null">d_safe_impl_date23,</if>
            <if test="dSafeLiftedSign23 != null">d_safe_lifted_sign23,</if>
            <if test="dSafeLiftedDate23 != null">d_safe_lifted_date23,</if>
            <if test="dSafeImplSign24 != null">d_safe_impl_sign24,</if>
            <if test="dSafeImplDate24 != null">d_safe_impl_date24,</if>
            <if test="dSafeLiftedSign24 != null">d_safe_lifted_sign24,</if>
            <if test="dSafeLiftedDate24 != null">d_safe_lifted_date24,</if>
            <if test="dSafeImplSign31 != null">d_safe_impl_sign31,</if>
            <if test="dSafeImplDate31 != null">d_safe_impl_date31,</if>
            <if test="dSafeLiftedSign31 != null">d_safe_lifted_sign31,</if>
            <if test="dSafeLiftedDate31 != null">d_safe_lifted_date31,</if>
            <if test="dSafeImplSign32 != null">d_safe_impl_sign32,</if>
            <if test="dSafeImplDate32 != null">d_safe_impl_date32,</if>
            <if test="dSafeLiftedSign32 != null">d_safe_lifted_sign32,</if>
            <if test="dSafeLiftedDate32 != null">d_safe_lifted_date32,</if>
            <if test="dSafeImplSign33 != null">d_safe_impl_sign33,</if>
            <if test="dSafeImplDate33 != null">d_safe_impl_date33,</if>
            <if test="dSafeLiftedSign33 != null">d_safe_lifted_sign33,</if>
            <if test="dSafeLiftedDate33 != null">d_safe_lifted_date33,</if>
            <if test="dSafeImplSign34 != null">d_safe_impl_sign34,</if>
            <if test="dSafeImplDate34 != null">d_safe_impl_date34,</if>
            <if test="dSafeLiftedSign34 != null">d_safe_lifted_sign34,</if>
            <if test="dSafeLiftedDate34 != null">d_safe_lifted_date34,</if>
            <if test="dSafeImplSign35 != null">d_safe_impl_sign35,</if>
            <if test="dSafeImplDate35 != null">d_safe_impl_date35,</if>
            <if test="dSafeLiftedSign35 != null">d_safe_lifted_sign35,</if>
            <if test="dSafeLiftedDate35 != null">d_safe_lifted_date35,</if>
            <if test="dSafeImplSign36 != null">d_safe_impl_sign36,</if>
            <if test="dSafeImplDate36 != null">d_safe_impl_date36,</if>
            <if test="dSafeLiftedSign36 != null">d_safe_lifted_sign36,</if>
            <if test="dSafeLiftedDate36 != null">d_safe_lifted_date36,</if>
            <if test="dSafeImplSign37 != null">d_safe_impl_sign37,</if>
            <if test="dSafeImplDate37 != null">d_safe_impl_date37,</if>
            <if test="dSafeLiftedSign37 != null">d_safe_lifted_sign37,</if>
            <if test="dSafeLiftedDate37 != null">d_safe_lifted_date37,</if>
            <if test="dSafeImplSign41 != null">d_safe_impl_sign41,</if>
            <if test="dSafeImplDate41 != null">d_safe_impl_date41,</if>
            <if test="dSafeImplSign42 != null">d_safe_impl_sign42,</if>
            <if test="dSafeImplDate42 != null">d_safe_impl_date42,</if>
            <if test="dSafeImplSign43 != null">d_safe_impl_sign43,</if>
            <if test="dSafeImplDate43 != null">d_safe_impl_date43,</if>
            <if test="dSafeImplSign44 != null">d_safe_impl_sign44,</if>
            <if test="dSafeImplDate44 != null">d_safe_impl_date44,</if>
            <if test="dSafeImplSign51 != null">d_safe_impl_sign51,</if>
            <if test="dSafeImplDate51 != null">d_safe_impl_date51,</if>
            <if test="dSafeImplSign52 != null">d_safe_impl_sign52,</if>
            <if test="dSafeImplDate52 != null">d_safe_impl_date52,</if>
            <if test="dSafeLiftedSign52 != null">d_safe_lifted_sign52,</if>
            <if test="dSafeLiftedDate52 != null">d_safe_lifted_date52,</if>
            <if test="dSafeImplSign53 != null">d_safe_impl_sign53,</if>
            <if test="dSafeImplDate53 != null">d_safe_impl_date53,</if>
            <if test="dSafeLiftedSign53 != null">d_safe_lifted_sign53,</if>
            <if test="dSafeLiftedDate53 != null">d_safe_lifted_date53,</if>
            <if test="dSafeImplSign54 != null">d_safe_impl_sign54,</if>
            <if test="dSafeImplDate54 != null">d_safe_impl_date54,</if>
            <if test="dSafeLiftedSign54 != null">d_safe_lifted_sign54,</if>
            <if test="dSafeLiftedDate54 != null">d_safe_lifted_date54,</if>
            <if test="dSafeImplSign55 != null">d_safe_impl_sign55,</if>
            <if test="dSafeImplDate55 != null">d_safe_impl_date55,</if>
            <if test="dSafeLiftedSign55 != null">d_safe_lifted_sign55,</if>
            <if test="dSafeLiftedDate55 != null">d_safe_lifted_date55,</if>
            <if test="dSafeImplSign56 != null">d_safe_impl_sign56,</if>
            <if test="dSafeImplDate56 != null">d_safe_impl_date56,</if>
            <if test="dSafeImplSign57 != null">d_safe_impl_sign57,</if>
            <if test="dSafeImplDate57 != null">d_safe_impl_date57,</if>
            <if test="dSafeLiftedSign57 != null">d_safe_lifted_sign57,</if>
            <if test="dSafeLiftedDate57 != null">d_safe_lifted_date57,</if>
            <if test="dSafeImplSign58 != null">d_safe_impl_sign58,</if>
            <if test="dSafeImplDate58 != null">d_safe_impl_date58,</if>
            <if test="dSafeLiftedSign58 != null">d_safe_lifted_sign58,</if>
            <if test="dSafeLiftedDate58 != null">d_safe_lifted_date58,</if>
            <if test="dSafeImplSign61 != null">d_safe_impl_sign61,</if>
            <if test="dSafeImplDate61 != null">d_safe_impl_date61,</if>
            <if test="dSafeLiftedSign61 != null">d_safe_lifted_sign61,</if>
            <if test="dSafeLiftedDate61 != null">d_safe_lifted_date61,</if>
            <if test="eIsPresent != null">e_is_present,</if>
            <if test="eIsRequiredPpe != null">e_is_required_ppe,</if>
            <if test="ePpeContent != null">e_ppe_content,</if>
            <if test="eIsSafeGoggles != null">e_is_safe_goggles,</if>
            <if test="eIsFaceShield != null">e_is_face_shield,</if>
            <if test="eIsProtectGloves != null">e_is_protect_gloves,</if>
            <if test="eProtectGlovesContent != null">e_protect_gloves_content,</if>
            <if test="eIsRubberBoots != null">e_is_rubber_boots,</if>
            <if test="eIsRubberApron != null">e_is_rubber_apron,</if>
            <if test="eIsProtectSuit != null">e_is_protect_suit,</if>
            <if test="eProtectSuitContent != null">e_protect_suit_content,</if>
            <if test="eIsResProtect != null">e_is_res_protect,</if>
            <if test="eResProtectContent != null">e_res_protect_content,</if>
            <if test="eIsFallArrest != null">e_is_fall_arrest,</if>
            <if test="eFallArrestContent != null">e_fall_arrest_content,</if>
            <if test="eIsOtherProtect != null">e_is_other_protect,</if>
            <if test="eOtherProtectContent != null">e_other_protect_content,</if>
            <if test="eIsContinueMonitoring != null">e_is_continue_monitoring,</if>
            <if test="eSafeAttendant != null">e_safe_attendant,</if>
            <if test="eSafeAttendantSign != null">e_safe_attendant_sign,</if>
            <if test="eIsNaturalVen != null">e_is_natural_ven,</if>
            <if test="eNaturalVenContent != null">e_natural_ven_content,</if>
            <if test="eIsMecVen != null">e_is_mec_ven,</if>
            <if test="eMecVenContent != null">e_mec_ven_content,</if>
            <if test="eIsExxtractDust != null">e_is_exxtract_dust,</if>
            <if test="eIsAnalyzeAir != null">e_is_analyze_air,</if>
            <if test="eAnalyzeAirContent != null">e_analyze_air_content,</if>
            <if test="eAnalyzeAirInterval != null">e_analyze_air_interval,</if>
            <if test="eIsOtherVen != null">e_is_other_ven,</if>
            <if test="eOtherVenContent != null">e_other_ven_content,</if>
            <if test="eIsOtherSafety != null">e_is_other_safety,</if>
            <if test="eOtherSafetyContent != null">e_other_safety_content,</if>
            <if test="fIsAfterWorkSafe != null">f_is_after_work_safe,</if>
            <if test="fAfterWorkSafeContent != null">f_after_work_safe_content,</if>
            <if test="gFirstSign != null">g_first_sign,</if>
            <if test="gFirstDate != null">g_first_date,</if>
            <if test="gSecondSign != null">g_second_sign,</if>
            <if test="gSecondDate != null">g_second_date,</if>
            <if test="gThirdSign != null">g_third_sign,</if>
            <if test="gThirdDate != null">g_third_date,</if>
            <if test="gIsSpecialAssessment != null">g_is_special_assessment,</if>
            <if test="gSpecialAssessment != null">g_special_assessment,</if>
            <if test="hSafeMesSign != null">h_safe_mes_sign,</if>
            <if test="hSafeMesDate != null">h_safe_mes_date,</if>
            <if test="hSafeMesA4Sign != null">h_safe_mes_a4_sign,</if>
            <if test="hSafeMesA4Date != null">h_safe_mes_a4_date,</if>
            <if test="iOneASign != null">i_one_a_sign,</if>
            <if test="iOneADate != null">i_one_a_date,</if>
            <if test="iOneBSign != null">i_one_b_sign,</if>
            <if test="iOneBDate != null">i_one_b_date,</if>
            <if test="jOneBSign != null">j_one_b_sign,</if>
            <if test="jOneBDate != null">j_one_b_date,</if>
            <if test="jResMemberSign != null">j_res_member_sign,</if>
            <if test="jResMemberDate != null">j_res_member_date,</if>
            <if test="jEISign != null">j_e_i_sign,</if>
            <if test="jEIDate != null">j_e_i_date,</if>
            <if test="kConfirmSign != null">k_confirm_sign,</if>
            <if test="kConfirmDate != null">k_confirm_date,</if>
            <if test="lNoticeSign != null">l_notice_sign,</if>
            <if test="lNoticeDate != null">l_notice_date,</if>
            <if test="mAssessDContent != null">m_assess_d_content,</if>
            <if test="mAssessDSign != null">m_assess_d_sign,</if>
            <if test="mAssessDDate != null">m_assess_d_date,</if>
            <if test="mOtherLicenceOne != null">m_other_licence_one,</if>
            <if test="mOtherLicenceTwo != null">m_other_licence_two,</if>
            <if test="mOtherLicenceThree != null">m_other_licence_three,</if>
            <if test="wordUrl != null">word_url,</if>
            <if test="pdfUrl != null">pdf_url,</if>
            <if test="dIsDisFeeder != null">d_is_dis_feeder,</if>
            <if test="cIsYesDanger != null">c_is_yes_danger,</if>
            <if test="cIsEquipmentHazards != null">c_is_equipment_hazards,</if>
            <if test="cIsFacilityHazards != null">c_is_facility_hazards,</if>
            <if test="cIsOtherId != null">c_is_other_id,</if>
            <if test="eSafetySign1 != null">e_safety_sign1,</if>
            <if test="eSafetySign2 != null">e_safety_sign2,</if>
            <if test="eOther1 != null">e_other1,</if>
            <if test="eOther2 != null">e_other2,</if>
            <if test="eOther3 != null">e_other3,</if>
            <if test="eOther4 != null">e_other4,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="bpId != null">#{bpId},</if>
            <if test="aEquipmentName != null">#{aEquipmentName},</if>
            <if test="aEquipmentLeader != null">#{aEquipmentLeader},</if>
            <if test="aEquipmentTel != null">#{aEquipmentTel},</if>
            <if test="aEquipmentOffice != null">#{aEquipmentOffice},</if>
            <if test="aConstructionName != null">#{aConstructionName},</if>
            <if test="aConstructionLeader != null">#{aConstructionLeader},</if>
            <if test="aConstructionTel != null">#{aConstructionTel},</if>
            <if test="aConstructionOffice != null">#{aConstructionOffice},</if>
            <if test="aContractorName != null">#{aContractorName},</if>
            <if test="aContractorLeader != null">#{aContractorLeader},</if>
            <if test="aContractorTel != null">#{aContractorTel},</if>
            <if test="aContractorOffice != null">#{aContractorOffice},</if>
            <if test="aIsNeedSafeLiaison != null">#{aIsNeedSafeLiaison},</if>
            <if test="aSafeLiaisonName != null">#{aSafeLiaisonName},</if>
            <if test="aSafeLiaisonSign != null">#{aSafeLiaisonSign},</if>
            <if test="aSafeLiaisonTel != null">#{aSafeLiaisonTel},</if>
            <if test="aSafeLiaisonOffice != null">#{aSafeLiaisonOffice},</if>
            <if test="bDeviceName != null">#{bDeviceName},</if>
            <if test="bAreaNo != null">#{bAreaNo},</if>
            <if test="bWorkContent != null">#{bWorkContent},</if>
            <if test="bValidityStartTime != null">#{bValidityStartTime},</if>
            <if test="bValidityEndTime != null">#{bValidityEndTime},</if>
            <if test="cHarmMatterName != null">#{cHarmMatterName},</if>
            <if test="cIsGhs != null">#{cIsGhs},</if>
            <if test="cIsToxic != null">#{cIsToxic},</if>
            <if test="cIsFlammable != null">#{cIsFlammable},</if>
            <if test="cIsOxidizing != null">#{cIsOxidizing},</if>
            <if test="cIsExplosive != null">#{cIsExplosive},</if>
            <if test="cIsCorrosive != null">#{cIsCorrosive},</if>
            <if test="cIsIrritantToxic != null">#{cIsIrritantToxic},</if>
            <if test="cIsHealthHazard != null">#{cIsHealthHazard},</if>
            <if test="cIsCompressedGas != null">#{cIsCompressedGas},</if>
            <if test="cIsEnvironmentalHazard != null">#{cIsEnvironmentalHazard},</if>
            <if test="cIsHighTemp != null">#{cIsHighTemp},</if>
            <if test="cIsLowTemp != null">#{cIsLowTemp},</if>
            <if test="cIsPosPressure != null">#{cIsPosPressure},</if>
            <if test="cIsNegPressure != null">#{cIsNegPressure},</if>
            <if test="cIsMovingParts != null">#{cIsMovingParts},</if>
            <if test="cIsHotSurfaces != null">#{cIsHotSurfaces},</if>
            <if test="cIsColdSurfaces != null">#{cIsColdSurfaces},</if>
            <if test="cIsVoltages != null">#{cIsVoltages},</if>
            <if test="cIsWorkProtective != null">#{cIsWorkProtective},</if>
            <if test="cIsOtherDanger != null">#{cIsOtherDanger},</if>
            <if test="cOtherDangerContent != null">#{cOtherDangerContent},</if>
            <if test="cIsHazardsProd != null">#{cIsHazardsProd},</if>
            <if test="cIsHazardsProdContent != null">#{cIsHazardsProdContent},</if>
            <if test="cIsDrain != null">#{cIsDrain},</if>
            <if test="cIsFall != null">#{cIsFall},</if>
            <if test="cIsLighting != null">#{cIsLighting},</if>
            <if test="cIsRay != null">#{cIsRay},</if>
            <if test="cOtherId != null">#{cOtherId},</if>
            <if test="dPartitionNo != null">#{dPartitionNo},</if>
            <if test="dMaterialQuality != null">#{dMaterialQuality},</if>
            <if test="dSpecifications != null">#{dSpecifications},</if>
            <if test="dBlindPlateNo != null">#{dBlindPlateNo},</if>
            <if test="dIsOpenSafe != null">#{dIsOpenSafe},</if>
            <if test="dIsBreakIncl != null">#{dIsBreakIncl},</if>
            <if test="dBreakInclContent != null">#{dBreakInclContent},</if>
            <if test="dEleCircuitNo != null">#{dEleCircuitNo},</if>
            <if test="dInsTagNo != null">#{dInsTagNo},</if>
            <if test="dIsRadioactiveSources != null">#{dIsRadioactiveSources},</if>
            <if test="dIsOtherEquSafe != null">#{dIsOtherEquSafe},</if>
            <if test="dIsOtherEquSafeContent != null">#{dIsOtherEquSafeContent},</if>
            <if test="dIsDepress != null">#{dIsDepress},</if>
            <if test="dIsSingleBlocking != null">#{dIsSingleBlocking},</if>
            <if test="dIsDoubleBlock != null">#{dIsDoubleBlock},</if>
            <if test="dIsLockoutUsing != null">#{dIsLockoutUsing},</if>
            <if test="dLockoutUsingContent != null">#{dLockoutUsingContent},</if>
            <if test="dIsRemovePipe != null">#{dIsRemovePipe},</if>
            <if test="dIsMecSecure != null">#{dIsMecSecure},</if>
            <if test="dMecSecureContent != null">#{dMecSecureContent},</if>
            <if test="dIsOtherSafePlant != null">#{dIsOtherSafePlant},</if>
            <if test="dOtherSafePlantContent != null">#{dOtherSafePlantContent},</if>
            <if test="dIsDrain != null">#{dIsDrain},</if>
            <if test="dIsClean != null">#{dIsClean},</if>
            <if test="dCleanContent != null">#{dCleanContent},</if>
            <if test="dIsFlush != null">#{dIsFlush},</if>
            <if test="dFlushContent != null">#{dFlushContent},</if>
            <if test="dIsOhterClean != null">#{dIsOhterClean},</if>
            <if test="dOtherCleanContent != null">#{dOtherCleanContent},</if>
            <if test="dIsSiteDemarcation != null">#{dIsSiteDemarcation},</if>
            <if test="dSiteDemarcationContent != null">#{dSiteDemarcationContent},</if>
            <if test="dIsAreaCover != null">#{dIsAreaCover},</if>
            <if test="dAreaCoverContent != null">#{dAreaCoverContent},</if>
            <if test="dIsCloseTrucks != null">#{dIsCloseTrucks},</if>
            <if test="dIsLeakDrain != null">#{dIsLeakDrain},</if>
            <if test="dLeakDrainContent != null">#{dLeakDrainContent},</if>
            <if test="dIsOtherLight != null">#{dIsOtherLight},</if>
            <if test="dOtherLightContent != null">#{dOtherLightContent},</if>
            <if test="dIsOtherSafety != null">#{dIsOtherSafety},</if>
            <if test="dIsOtherSafetyContent != null">#{dIsOtherSafetyContent},</if>
            <if test="dIsEffect != null">#{dIsEffect},</if>
            <if test="dEffectUnit != null">#{dEffectUnit},</if>
            <if test="dEffectLeader != null">#{dEffectLeader},</if>
            <if test="dEffectMeasure != null">#{dEffectMeasure},</if>
            <if test="dIs30m != null">#{dIs30m},</if>
            <if test="dIsOtherMeasure != null">#{dIsOtherMeasure},</if>
            <if test="dOtherMeasureContent != null">#{dOtherMeasureContent},</if>
            <if test="dPartakeBriefingSign != null">#{dPartakeBriefingSign},</if>
            <if test="dPartakeBriefingDate != null">#{dPartakeBriefingDate},</if>
            <if test="dSafeImplSign21 != null">#{dSafeImplSign21},</if>
            <if test="dSafeImplDate21 != null">#{dSafeImplDate21},</if>
            <if test="dSafeLiftedSign21 != null">#{dSafeLiftedSign21},</if>
            <if test="dSafeLiftedDate21 != null">#{dSafeLiftedDate21},</if>
            <if test="dSafeImplSign22 != null">#{dSafeImplSign22},</if>
            <if test="dSafeImplDate22 != null">#{dSafeImplDate22},</if>
            <if test="dSafeLiftedSign22 != null">#{dSafeLiftedSign22},</if>
            <if test="dSafeLiftedDate22 != null">#{dSafeLiftedDate22},</if>
            <if test="dSafeImplSign23 != null">#{dSafeImplSign23},</if>
            <if test="dSafeImplDate23 != null">#{dSafeImplDate23},</if>
            <if test="dSafeLiftedSign23 != null">#{dSafeLiftedSign23},</if>
            <if test="dSafeLiftedDate23 != null">#{dSafeLiftedDate23},</if>
            <if test="dSafeImplSign24 != null">#{dSafeImplSign24},</if>
            <if test="dSafeImplDate24 != null">#{dSafeImplDate24},</if>
            <if test="dSafeLiftedSign24 != null">#{dSafeLiftedSign24},</if>
            <if test="dSafeLiftedDate24 != null">#{dSafeLiftedDate24},</if>
            <if test="dSafeImplSign31 != null">#{dSafeImplSign31},</if>
            <if test="dSafeImplDate31 != null">#{dSafeImplDate31},</if>
            <if test="dSafeLiftedSign31 != null">#{dSafeLiftedSign31},</if>
            <if test="dSafeLiftedDate31 != null">#{dSafeLiftedDate31},</if>
            <if test="dSafeImplSign32 != null">#{dSafeImplSign32},</if>
            <if test="dSafeImplDate32 != null">#{dSafeImplDate32},</if>
            <if test="dSafeLiftedSign32 != null">#{dSafeLiftedSign32},</if>
            <if test="dSafeLiftedDate32 != null">#{dSafeLiftedDate32},</if>
            <if test="dSafeImplSign33 != null">#{dSafeImplSign33},</if>
            <if test="dSafeImplDate33 != null">#{dSafeImplDate33},</if>
            <if test="dSafeLiftedSign33 != null">#{dSafeLiftedSign33},</if>
            <if test="dSafeLiftedDate33 != null">#{dSafeLiftedDate33},</if>
            <if test="dSafeImplSign34 != null">#{dSafeImplSign34},</if>
            <if test="dSafeImplDate34 != null">#{dSafeImplDate34},</if>
            <if test="dSafeLiftedSign34 != null">#{dSafeLiftedSign34},</if>
            <if test="dSafeLiftedDate34 != null">#{dSafeLiftedDate34},</if>
            <if test="dSafeImplSign35 != null">#{dSafeImplSign35},</if>
            <if test="dSafeImplDate35 != null">#{dSafeImplDate35},</if>
            <if test="dSafeLiftedSign35 != null">#{dSafeLiftedSign35},</if>
            <if test="dSafeLiftedDate35 != null">#{dSafeLiftedDate35},</if>
            <if test="dSafeImplSign36 != null">#{dSafeImplSign36},</if>
            <if test="dSafeImplDate36 != null">#{dSafeImplDate36},</if>
            <if test="dSafeLiftedSign36 != null">#{dSafeLiftedSign36},</if>
            <if test="dSafeLiftedDate36 != null">#{dSafeLiftedDate36},</if>
            <if test="dSafeImplSign37 != null">#{dSafeImplSign37},</if>
            <if test="dSafeImplDate37 != null">#{dSafeImplDate37},</if>
            <if test="dSafeLiftedSign37 != null">#{dSafeLiftedSign37},</if>
            <if test="dSafeLiftedDate37 != null">#{dSafeLiftedDate37},</if>
            <if test="dSafeImplSign41 != null">#{dSafeImplSign41},</if>
            <if test="dSafeImplDate41 != null">#{dSafeImplDate41},</if>
            <if test="dSafeImplSign42 != null">#{dSafeImplSign42},</if>
            <if test="dSafeImplDate42 != null">#{dSafeImplDate42},</if>
            <if test="dSafeImplSign43 != null">#{dSafeImplSign43},</if>
            <if test="dSafeImplDate43 != null">#{dSafeImplDate43},</if>
            <if test="dSafeImplSign44 != null">#{dSafeImplSign44},</if>
            <if test="dSafeImplDate44 != null">#{dSafeImplDate44},</if>
            <if test="dSafeImplSign51 != null">#{dSafeImplSign51},</if>
            <if test="dSafeImplDate51 != null">#{dSafeImplDate51},</if>
            <if test="dSafeImplSign52 != null">#{dSafeImplSign52},</if>
            <if test="dSafeImplDate52 != null">#{dSafeImplDate52},</if>
            <if test="dSafeLiftedSign52 != null">#{dSafeLiftedSign52},</if>
            <if test="dSafeLiftedDate52 != null">#{dSafeLiftedDate52},</if>
            <if test="dSafeImplSign53 != null">#{dSafeImplSign53},</if>
            <if test="dSafeImplDate53 != null">#{dSafeImplDate53},</if>
            <if test="dSafeLiftedSign53 != null">#{dSafeLiftedSign53},</if>
            <if test="dSafeLiftedDate53 != null">#{dSafeLiftedDate53},</if>
            <if test="dSafeImplSign54 != null">#{dSafeImplSign54},</if>
            <if test="dSafeImplDate54 != null">#{dSafeImplDate54},</if>
            <if test="dSafeLiftedSign54 != null">#{dSafeLiftedSign54},</if>
            <if test="dSafeLiftedDate54 != null">#{dSafeLiftedDate54},</if>
            <if test="dSafeImplSign55 != null">#{dSafeImplSign55},</if>
            <if test="dSafeImplDate55 != null">#{dSafeImplDate55},</if>
            <if test="dSafeLiftedSign55 != null">#{dSafeLiftedSign55},</if>
            <if test="dSafeLiftedDate55 != null">#{dSafeLiftedDate55},</if>
            <if test="dSafeImplSign56 != null">#{dSafeImplSign56},</if>
            <if test="dSafeImplDate56 != null">#{dSafeImplDate56},</if>
            <if test="dSafeImplSign57 != null">#{dSafeImplSign57},</if>
            <if test="dSafeImplDate57 != null">#{dSafeImplDate57},</if>
            <if test="dSafeLiftedSign57 != null">#{dSafeLiftedSign57},</if>
            <if test="dSafeLiftedDate57 != null">#{dSafeLiftedDate57},</if>
            <if test="dSafeImplSign58 != null">#{dSafeImplSign58},</if>
            <if test="dSafeImplDate58 != null">#{dSafeImplDate58},</if>
            <if test="dSafeLiftedSign58 != null">#{dSafeLiftedSign58},</if>
            <if test="dSafeLiftedDate58 != null">#{dSafeLiftedDate58},</if>
            <if test="dSafeImplSign61 != null">#{dSafeImplSign61},</if>
            <if test="dSafeImplDate61 != null">#{dSafeImplDate61},</if>
            <if test="dSafeLiftedSign61 != null">#{dSafeLiftedSign61},</if>
            <if test="dSafeLiftedDate61 != null">#{dSafeLiftedDate61},</if>
            <if test="eIsPresent != null">#{eIsPresent},</if>
            <if test="eIsRequiredPpe != null">#{eIsRequiredPpe},</if>
            <if test="ePpeContent != null">#{ePpeContent},</if>
            <if test="eIsSafeGoggles != null">#{eIsSafeGoggles},</if>
            <if test="eIsFaceShield != null">#{eIsFaceShield},</if>
            <if test="eIsProtectGloves != null">#{eIsProtectGloves},</if>
            <if test="eProtectGlovesContent != null">#{eProtectGlovesContent},</if>
            <if test="eIsRubberBoots != null">#{eIsRubberBoots},</if>
            <if test="eIsRubberApron != null">#{eIsRubberApron},</if>
            <if test="eIsProtectSuit != null">#{eIsProtectSuit},</if>
            <if test="eProtectSuitContent != null">#{eProtectSuitContent},</if>
            <if test="eIsResProtect != null">#{eIsResProtect},</if>
            <if test="eResProtectContent != null">#{eResProtectContent},</if>
            <if test="eIsFallArrest != null">#{eIsFallArrest},</if>
            <if test="eFallArrestContent != null">#{eFallArrestContent},</if>
            <if test="eIsOtherProtect != null">#{eIsOtherProtect},</if>
            <if test="eOtherProtectContent != null">#{eOtherProtectContent},</if>
            <if test="eIsContinueMonitoring != null">#{eIsContinueMonitoring},</if>
            <if test="eSafeAttendant != null">#{eSafeAttendant},</if>
            <if test="eSafeAttendantSign != null">#{eSafeAttendantSign},</if>
            <if test="eIsNaturalVen != null">#{eIsNaturalVen},</if>
            <if test="eNaturalVenContent != null">#{eNaturalVenContent},</if>
            <if test="eIsMecVen != null">#{eIsMecVen},</if>
            <if test="eMecVenContent != null">#{eMecVenContent},</if>
            <if test="eIsExxtractDust != null">#{eIsExxtractDust},</if>
            <if test="eIsAnalyzeAir != null">#{eIsAnalyzeAir},</if>
            <if test="eAnalyzeAirContent != null">#{eAnalyzeAirContent},</if>
            <if test="eAnalyzeAirInterval != null">#{eAnalyzeAirInterval},</if>
            <if test="eIsOtherVen != null">#{eIsOtherVen},</if>
            <if test="eOtherVenContent != null">#{eOtherVenContent},</if>
            <if test="eIsOtherSafety != null">#{eIsOtherSafety},</if>
            <if test="eOtherSafetyContent != null">#{eOtherSafetyContent},</if>
            <if test="fIsAfterWorkSafe != null">#{fIsAfterWorkSafe},</if>
            <if test="fAfterWorkSafeContent != null">#{fAfterWorkSafeContent},</if>
            <if test="gFirstSign != null">#{gFirstSign},</if>
            <if test="gFirstDate != null">#{gFirstDate},</if>
            <if test="gSecondSign != null">#{gSecondSign},</if>
            <if test="gSecondDate != null">#{gSecondDate},</if>
            <if test="gThirdSign != null">#{gThirdSign},</if>
            <if test="gThirdDate != null">#{gThirdDate},</if>
            <if test="gIsSpecialAssessment != null">#{gIsSpecialAssessment},</if>
            <if test="gSpecialAssessment != null">#{gSpecialAssessment},</if>
            <if test="hSafeMesSign != null">#{hSafeMesSign},</if>
            <if test="hSafeMesDate != null">#{hSafeMesDate},</if>
            <if test="hSafeMesA4Sign != null">#{hSafeMesA4Sign},</if>
            <if test="hSafeMesA4Date != null">#{hSafeMesA4Date},</if>
            <if test="iOneASign != null">#{iOneASign},</if>
            <if test="iOneADate != null">#{iOneADate},</if>
            <if test="iOneBSign != null">#{iOneBSign},</if>
            <if test="iOneBDate != null">#{iOneBDate},</if>
            <if test="jOneBSign != null">#{jOneBSign},</if>
            <if test="jOneBDate != null">#{jOneBDate},</if>
            <if test="jResMemberSign != null">#{jResMemberSign},</if>
            <if test="jResMemberDate != null">#{jResMemberDate},</if>
            <if test="jEISign != null">#{jEISign},</if>
            <if test="jEIDate != null">#{jEIDate},</if>
            <if test="kConfirmSign != null">#{kConfirmSign},</if>
            <if test="kConfirmDate != null">#{kConfirmDate},</if>
            <if test="lNoticeSign != null">#{lNoticeSign},</if>
            <if test="lNoticeDate != null">#{lNoticeDate},</if>
            <if test="mAssessDContent != null">#{mAssessDContent},</if>
            <if test="mAssessDSign != null">#{mAssessDSign},</if>
            <if test="mAssessDDate != null">#{mAssessDDate},</if>
            <if test="mOtherLicenceOne != null">#{mOtherLicenceOne},</if>
            <if test="mOtherLicenceTwo != null">#{mOtherLicenceTwo},</if>
            <if test="mOtherLicenceThree != null">#{mOtherLicenceThree},</if>
            <if test="wordUrl != null">#{wordUrl},</if>
            <if test="pdfUrl != null">#{pdfUrl},</if>
            <if test="dIsDisFeeder != null">#{dIsDisFeeder},</if>
            <if test="cIsYesDanger != null">#{cIsYesDanger},</if>
            <if test="cIsEquipmentHazards != null">#{cIsEquipmentHazards},</if>
            <if test="cIsFacilityHazards != null">#{cIsFacilityHazards},</if>
            <if test="cIsOtherId != null">#{cIsOtherId},</if>
            <if test="eSafetySign1 != null">#{eSafetySign1},</if>
            <if test="eSafetySign2 != null">#{eSafetySign2},</if>
            <if test="eOther1 != null">#{eOther1},</if>
            <if test="eOther2 != null">#{eOther2},</if>
            <if test="eOther3 != null">#{eOther3},</if>
            <if test="eOther4 != null">#{eOther4},</if>
        </trim>
    </insert>

    <update id="updateTPermitBlindPlate" parameterType="TPermitBlindPlate">
        update t_permit_blind_plate
        <trim prefix="SET" suffixOverrides=",">
            <if test="aEquipmentName != null">a_equipment_name = #{aEquipmentName},</if>
            <if test="aEquipmentLeader != null">a_equipment_leader = #{aEquipmentLeader},</if>
            <if test="aEquipmentTel != null">a_equipment_tel = #{aEquipmentTel},</if>
            <if test="aEquipmentOffice != null">a_equipment_office = #{aEquipmentOffice},</if>
            <if test="aConstructionName != null">a_construction_name = #{aConstructionName},</if>
            <if test="aConstructionLeader != null">a_construction_leader = #{aConstructionLeader},</if>
            <if test="aConstructionTel != null">a_construction_tel = #{aConstructionTel},</if>
            <if test="aConstructionOffice != null">a_construction_office = #{aConstructionOffice},</if>
            <if test="aContractorName != null">a_contractor_name = #{aContractorName},</if>
            <if test="aContractorLeader != null">a_contractor_leader = #{aContractorLeader},</if>
            <if test="aContractorTel != null">a_contractor_tel = #{aContractorTel},</if>
            <if test="aContractorOffice != null">a_contractor_office = #{aContractorOffice},</if>
            <if test="aIsNeedSafeLiaison != null">a_is_need_safe_liaison = #{aIsNeedSafeLiaison},</if>
            <if test="aSafeLiaisonName != null">a_safe_liaison_name = #{aSafeLiaisonName},</if>
            <if test="aSafeLiaisonSign != null">a_safe_liaison_sign = #{aSafeLiaisonSign},</if>
            <if test="aSafeLiaisonTel != null">a_safe_liaison_tel = #{aSafeLiaisonTel},</if>
            <if test="aSafeLiaisonOffice != null">a_safe_liaison_office = #{aSafeLiaisonOffice},</if>
            <if test="bDeviceName != null">b_device_name = #{bDeviceName},</if>
            <if test="bAreaNo != null">b_area_no = #{bAreaNo},</if>
            <if test="bWorkContent != null">b_work_content = #{bWorkContent},</if>
            <if test="bValidityStartTime != null">b_validity_start_time = #{bValidityStartTime},</if>
            <if test="bValidityEndTime != null">b_validity_end_time = #{bValidityEndTime},</if>
            <if test="cHarmMatterName != null">c_harm_matter_name = #{cHarmMatterName},</if>
            <if test="cIsGhs != null">c_is_ghs = #{cIsGhs},</if>
            <if test="cIsToxic != null">c_is_toxic = #{cIsToxic},</if>
            <if test="cIsFlammable != null">c_is_flammable = #{cIsFlammable},</if>
            <if test="cIsOxidizing != null">c_is_oxidizing = #{cIsOxidizing},</if>
            <if test="cIsExplosive != null">c_is_explosive = #{cIsExplosive},</if>
            <if test="cIsCorrosive != null">c_is_corrosive = #{cIsCorrosive},</if>
            <if test="cIsIrritantToxic != null">c_is_irritant_toxic = #{cIsIrritantToxic},</if>
            <if test="cIsHealthHazard != null">c_is_health_hazard = #{cIsHealthHazard},</if>
            <if test="cIsCompressedGas != null">c_is_compressed_gas = #{cIsCompressedGas},</if>
            <if test="cIsEnvironmentalHazard != null">c_is_environmental_hazard = #{cIsEnvironmentalHazard},</if>
            <if test="cIsHighTemp != null">c_is_high_temp = #{cIsHighTemp},</if>
            <if test="cIsLowTemp != null">c_is_low_temp = #{cIsLowTemp},</if>
            <if test="cIsPosPressure != null">c_is_pos_pressure = #{cIsPosPressure},</if>
            <if test="cIsNegPressure != null">c_is_neg_pressure = #{cIsNegPressure},</if>
            <if test="cIsMovingParts != null">c_is_moving_parts = #{cIsMovingParts},</if>
            <if test="cIsHotSurfaces != null">c_is_hot_surfaces = #{cIsHotSurfaces},</if>
            <if test="cIsColdSurfaces != null">c_is_cold_surfaces = #{cIsColdSurfaces},</if>
            <if test="cIsVoltages != null">c_is_voltages = #{cIsVoltages},</if>
            <if test="cIsWorkProtective != null">c_is_work_protective = #{cIsWorkProtective},</if>
            <if test="cIsOtherDanger != null">c_is_other_danger = #{cIsOtherDanger},</if>
            <if test="cOtherDangerContent != null">c_other_danger_content = #{cOtherDangerContent},</if>
            <if test="cIsHazardsProd != null">c_is_hazards_prod = #{cIsHazardsProd},</if>
            <if test="cIsHazardsProdContent != null">c_is_hazards_prod_content = #{cIsHazardsProdContent},</if>
            <if test="cIsDrain != null">c_is_drain = #{cIsDrain},</if>
            <if test="cIsFall != null">c_is_fall = #{cIsFall},</if>
            <if test="cIsLighting != null">c_is_lighting = #{cIsLighting},</if>
            <if test="cIsRay != null">c_is_ray = #{cIsRay},</if>
            <if test="cOtherId != null">c_other_id = #{cOtherId},</if>
            <if test="dPartitionNo != null">d_partition_no = #{dPartitionNo},</if>
            <if test="dMaterialQuality != null">d_material_quality = #{dMaterialQuality},</if>
            <if test="dSpecifications != null">d_specifications = #{dSpecifications},</if>
            <if test="dBlindPlateNo != null">d_blind_plate_no = #{dBlindPlateNo},</if>
            <if test="dIsOpenSafe != null">d_is_open_safe = #{dIsOpenSafe},</if>
            <if test="dIsBreakIncl != null">d_is_break_incl = #{dIsBreakIncl},</if>
            <if test="dBreakInclContent != null">d_break_incl_content = #{dBreakInclContent},</if>
            <if test="dEleCircuitNo != null">d_ele_circuit_no = #{dEleCircuitNo},</if>
            <if test="dInsTagNo != null">d_ins_tag_no = #{dInsTagNo},</if>
            <if test="dIsRadioactiveSources != null">d_is_radioactive_sources = #{dIsRadioactiveSources},</if>
            <if test="dIsOtherEquSafe != null">d_is_other_equ_safe = #{dIsOtherEquSafe},</if>
            <if test="dIsOtherEquSafeContent != null">d_is_other_equ_safe_content = #{dIsOtherEquSafeContent},</if>
            <if test="dIsDepress != null">d_is_depress = #{dIsDepress},</if>
            <if test="dIsSingleBlocking != null">d_is_single_blocking = #{dIsSingleBlocking},</if>
            <if test="dIsDoubleBlock != null">d_is_double_block = #{dIsDoubleBlock},</if>
            <if test="dIsLockoutUsing != null">d_is_lockout_using = #{dIsLockoutUsing},</if>
            <if test="dLockoutUsingContent != null">d_lockout_using_content = #{dLockoutUsingContent},</if>
            <if test="dIsRemovePipe != null">d_is_remove_pipe = #{dIsRemovePipe},</if>
            <if test="dIsMecSecure != null">d_is_mec_secure = #{dIsMecSecure},</if>
            <if test="dMecSecureContent != null">d_mec_secure_content = #{dMecSecureContent},</if>
            <if test="dIsOtherSafePlant != null">d_is_other_safe_plant = #{dIsOtherSafePlant},</if>
            <if test="dOtherSafePlantContent != null">d_other_safe_plant_content = #{dOtherSafePlantContent},</if>
            <if test="dIsDrain != null">d_is_drain = #{dIsDrain},</if>
            <if test="dIsClean != null">d_is_clean = #{dIsClean},</if>
            <if test="dCleanContent != null">d_clean_content = #{dCleanContent},</if>
            <if test="dIsFlush != null">d_is_flush = #{dIsFlush},</if>
            <if test="dFlushContent != null">d_flush_content = #{dFlushContent},</if>
            <if test="dIsOhterClean != null">d_is_ohter_clean = #{dIsOhterClean},</if>
            <if test="dOtherCleanContent != null">d_other_clean_content = #{dOtherCleanContent},</if>
            <if test="dIsSiteDemarcation != null">d_is_site_demarcation = #{dIsSiteDemarcation},</if>
            <if test="dSiteDemarcationContent != null">d_site_demarcation_content = #{dSiteDemarcationContent},</if>
            <if test="dIsAreaCover != null">d_is_area_cover = #{dIsAreaCover},</if>
            <if test="dAreaCoverContent != null">d_area_cover_content = #{dAreaCoverContent},</if>
            <if test="dIsCloseTrucks != null">d_is_close_trucks = #{dIsCloseTrucks},</if>
            <if test="dIsLeakDrain != null">d_is_leak_drain = #{dIsLeakDrain},</if>
            <if test="dLeakDrainContent != null">d_leak_drain_content = #{dLeakDrainContent},</if>
            <if test="dIsOtherLight != null">d_is_other_light = #{dIsOtherLight},</if>
            <if test="dOtherLightContent != null">d_other_light_content = #{dOtherLightContent},</if>
            <if test="dIsOtherSafety != null">d_is_other_safety = #{dIsOtherSafety},</if>
            <if test="dIsOtherSafetyContent != null">d_is_other_safety_content = #{dIsOtherSafetyContent},</if>
            <if test="dIsEffect != null">d_is_effect = #{dIsEffect},</if>
            <if test="dEffectUnit != null">d_effect_unit = #{dEffectUnit},</if>
            <if test="dEffectLeader != null">d_effect_leader = #{dEffectLeader},</if>
            <if test="dEffectMeasure != null">d_effect_measure = #{dEffectMeasure},</if>
            <if test="dIs30m != null">d_is_30m = #{dIs30m},</if>
            <if test="dIsOtherMeasure != null">d_is_other_measure = #{dIsOtherMeasure},</if>
            <if test="dOtherMeasureContent != null">d_other_measure_content = #{dOtherMeasureContent},</if>
            <if test="dPartakeBriefingSign != null">d_partake_briefing_sign = #{dPartakeBriefingSign},</if>
            <if test="dPartakeBriefingDate != null">d_partake_briefing_date = #{dPartakeBriefingDate},</if>
            <if test="dSafeImplSign21 != null">d_safe_impl_sign21 = #{dSafeImplSign21},</if>
            <if test="dSafeImplDate21 != null">d_safe_impl_date21 = #{dSafeImplDate21},</if>
            <if test="dSafeLiftedSign21 != null">d_safe_lifted_sign21 = #{dSafeLiftedSign21},</if>
            <if test="dSafeLiftedDate21 != null">d_safe_lifted_date21 = #{dSafeLiftedDate21},</if>
            <if test="dSafeImplSign22 != null">d_safe_impl_sign22 = #{dSafeImplSign22},</if>
            <if test="dSafeImplDate22 != null">d_safe_impl_date22 = #{dSafeImplDate22},</if>
            <if test="dSafeLiftedSign22 != null">d_safe_lifted_sign22 = #{dSafeLiftedSign22},</if>
            <if test="dSafeLiftedDate22 != null">d_safe_lifted_date22 = #{dSafeLiftedDate22},</if>
            <if test="dSafeImplSign23 != null">d_safe_impl_sign23 = #{dSafeImplSign23},</if>
            <if test="dSafeImplDate23 != null">d_safe_impl_date23 = #{dSafeImplDate23},</if>
            <if test="dSafeLiftedSign23 != null">d_safe_lifted_sign23 = #{dSafeLiftedSign23},</if>
            <if test="dSafeLiftedDate23 != null">d_safe_lifted_date23 = #{dSafeLiftedDate23},</if>
            <if test="dSafeImplSign24 != null">d_safe_impl_sign24 = #{dSafeImplSign24},</if>
            <if test="dSafeImplDate24 != null">d_safe_impl_date24 = #{dSafeImplDate24},</if>
            <if test="dSafeLiftedSign24 != null">d_safe_lifted_sign24 = #{dSafeLiftedSign24},</if>
            <if test="dSafeLiftedDate24 != null">d_safe_lifted_date24 = #{dSafeLiftedDate24},</if>
            <if test="dSafeImplSign31 != null">d_safe_impl_sign31 = #{dSafeImplSign31},</if>
            <if test="dSafeImplDate31 != null">d_safe_impl_date31 = #{dSafeImplDate31},</if>
            <if test="dSafeLiftedSign31 != null">d_safe_lifted_sign31 = #{dSafeLiftedSign31},</if>
            <if test="dSafeLiftedDate31 != null">d_safe_lifted_date31 = #{dSafeLiftedDate31},</if>
            <if test="dSafeImplSign32 != null">d_safe_impl_sign32 = #{dSafeImplSign32},</if>
            <if test="dSafeImplDate32 != null">d_safe_impl_date32 = #{dSafeImplDate32},</if>
            <if test="dSafeLiftedSign32 != null">d_safe_lifted_sign32 = #{dSafeLiftedSign32},</if>
            <if test="dSafeLiftedDate32 != null">d_safe_lifted_date32 = #{dSafeLiftedDate32},</if>
            <if test="dSafeImplSign33 != null">d_safe_impl_sign33 = #{dSafeImplSign33},</if>
            <if test="dSafeImplDate33 != null">d_safe_impl_date33 = #{dSafeImplDate33},</if>
            <if test="dSafeLiftedSign33 != null">d_safe_lifted_sign33 = #{dSafeLiftedSign33},</if>
            <if test="dSafeLiftedDate33 != null">d_safe_lifted_date33 = #{dSafeLiftedDate33},</if>
            <if test="dSafeImplSign34 != null">d_safe_impl_sign34 = #{dSafeImplSign34},</if>
            <if test="dSafeImplDate34 != null">d_safe_impl_date34 = #{dSafeImplDate34},</if>
            <if test="dSafeLiftedSign34 != null">d_safe_lifted_sign34 = #{dSafeLiftedSign34},</if>
            <if test="dSafeLiftedDate34 != null">d_safe_lifted_date34 = #{dSafeLiftedDate34},</if>
            <if test="dSafeImplSign35 != null">d_safe_impl_sign35 = #{dSafeImplSign35},</if>
            <if test="dSafeImplDate35 != null">d_safe_impl_date35 = #{dSafeImplDate35},</if>
            <if test="dSafeLiftedSign35 != null">d_safe_lifted_sign35 = #{dSafeLiftedSign35},</if>
            <if test="dSafeLiftedDate35 != null">d_safe_lifted_date35 = #{dSafeLiftedDate35},</if>
            <if test="dSafeImplSign36 != null">d_safe_impl_sign36 = #{dSafeImplSign36},</if>
            <if test="dSafeImplDate36 != null">d_safe_impl_date36 = #{dSafeImplDate36},</if>
            <if test="dSafeLiftedSign36 != null">d_safe_lifted_sign36 = #{dSafeLiftedSign36},</if>
            <if test="dSafeLiftedDate36 != null">d_safe_lifted_date36 = #{dSafeLiftedDate36},</if>
            <if test="dSafeImplSign37 != null">d_safe_impl_sign37 = #{dSafeImplSign37},</if>
            <if test="dSafeImplDate37 != null">d_safe_impl_date37 = #{dSafeImplDate37},</if>
            <if test="dSafeLiftedSign37 != null">d_safe_lifted_sign37 = #{dSafeLiftedSign37},</if>
            <if test="dSafeLiftedDate37 != null">d_safe_lifted_date37 = #{dSafeLiftedDate37},</if>
            <if test="dSafeImplSign41 != null">d_safe_impl_sign41 = #{dSafeImplSign41},</if>
            <if test="dSafeImplDate41 != null">d_safe_impl_date41 = #{dSafeImplDate41},</if>
            <if test="dSafeImplSign42 != null">d_safe_impl_sign42 = #{dSafeImplSign42},</if>
            <if test="dSafeImplDate42 != null">d_safe_impl_date42 = #{dSafeImplDate42},</if>
            <if test="dSafeImplSign43 != null">d_safe_impl_sign43 = #{dSafeImplSign43},</if>
            <if test="dSafeImplDate43 != null">d_safe_impl_date43 = #{dSafeImplDate43},</if>
            <if test="dSafeImplSign44 != null">d_safe_impl_sign44 = #{dSafeImplSign44},</if>
            <if test="dSafeImplDate44 != null">d_safe_impl_date44 = #{dSafeImplDate44},</if>
            <if test="dSafeImplSign51 != null">d_safe_impl_sign51 = #{dSafeImplSign51},</if>
            <if test="dSafeImplDate51 != null">d_safe_impl_date51 = #{dSafeImplDate51},</if>
            <if test="dSafeImplSign52 != null">d_safe_impl_sign52 = #{dSafeImplSign52},</if>
            <if test="dSafeImplDate52 != null">d_safe_impl_date52 = #{dSafeImplDate52},</if>
            <if test="dSafeLiftedSign52 != null">d_safe_lifted_sign52 = #{dSafeLiftedSign52},</if>
            <if test="dSafeLiftedDate52 != null">d_safe_lifted_date52 = #{dSafeLiftedDate52},</if>
            <if test="dSafeImplSign53 != null">d_safe_impl_sign53 = #{dSafeImplSign53},</if>
            <if test="dSafeImplDate53 != null">d_safe_impl_date53 = #{dSafeImplDate53},</if>
            <if test="dSafeLiftedSign53 != null">d_safe_lifted_sign53 = #{dSafeLiftedSign53},</if>
            <if test="dSafeLiftedDate53 != null">d_safe_lifted_date53 = #{dSafeLiftedDate53},</if>
            <if test="dSafeImplSign54 != null">d_safe_impl_sign54 = #{dSafeImplSign54},</if>
            <if test="dSafeImplDate54 != null">d_safe_impl_date54 = #{dSafeImplDate54},</if>
            <if test="dSafeLiftedSign54 != null">d_safe_lifted_sign54 = #{dSafeLiftedSign54},</if>
            <if test="dSafeLiftedDate54 != null">d_safe_lifted_date54 = #{dSafeLiftedDate54},</if>
            <if test="dSafeImplSign55 != null">d_safe_impl_sign55 = #{dSafeImplSign55},</if>
            <if test="dSafeImplDate55 != null">d_safe_impl_date55 = #{dSafeImplDate55},</if>
            <if test="dSafeLiftedSign55 != null">d_safe_lifted_sign55 = #{dSafeLiftedSign55},</if>
            <if test="dSafeLiftedDate55 != null">d_safe_lifted_date55 = #{dSafeLiftedDate55},</if>
            <if test="dSafeImplSign56 != null">d_safe_impl_sign56 = #{dSafeImplSign56},</if>
            <if test="dSafeImplDate56 != null">d_safe_impl_date56 = #{dSafeImplDate56},</if>
            <if test="dSafeImplSign57 != null">d_safe_impl_sign57 = #{dSafeImplSign57},</if>
            <if test="dSafeImplDate57 != null">d_safe_impl_date57 = #{dSafeImplDate57},</if>
            <if test="dSafeLiftedSign57 != null">d_safe_lifted_sign57 = #{dSafeLiftedSign57},</if>
            <if test="dSafeLiftedDate57 != null">d_safe_lifted_date57 = #{dSafeLiftedDate57},</if>
            <if test="dSafeImplSign58 != null">d_safe_impl_sign58 = #{dSafeImplSign58},</if>
            <if test="dSafeImplDate58 != null">d_safe_impl_date58 = #{dSafeImplDate58},</if>
            <if test="dSafeLiftedSign58 != null">d_safe_lifted_sign58 = #{dSafeLiftedSign58},</if>
            <if test="dSafeLiftedDate58 != null">d_safe_lifted_date58 = #{dSafeLiftedDate58},</if>
            <if test="dSafeImplSign61 != null">d_safe_impl_sign61 = #{dSafeImplSign61},</if>
            <if test="dSafeImplDate61 != null">d_safe_impl_date61 = #{dSafeImplDate61},</if>
            <if test="dSafeLiftedSign61 != null">d_safe_lifted_sign61 = #{dSafeLiftedSign61},</if>
            <if test="dSafeLiftedDate61 != null">d_safe_lifted_date61 = #{dSafeLiftedDate61},</if>
            <if test="eIsPresent != null">e_is_present = #{eIsPresent},</if>
            <if test="eIsRequiredPpe != null">e_is_required_ppe = #{eIsRequiredPpe},</if>
            <if test="ePpeContent != null">e_ppe_content = #{ePpeContent},</if>
            <if test="eIsSafeGoggles != null">e_is_safe_goggles = #{eIsSafeGoggles},</if>
            <if test="eIsFaceShield != null">e_is_face_shield = #{eIsFaceShield},</if>
            <if test="eIsProtectGloves != null">e_is_protect_gloves = #{eIsProtectGloves},</if>
            <if test="eProtectGlovesContent != null">e_protect_gloves_content = #{eProtectGlovesContent},</if>
            <if test="eIsRubberBoots != null">e_is_rubber_boots = #{eIsRubberBoots},</if>
            <if test="eIsRubberApron != null">e_is_rubber_apron = #{eIsRubberApron},</if>
            <if test="eIsProtectSuit != null">e_is_protect_suit = #{eIsProtectSuit},</if>
            <if test="eProtectSuitContent != null">e_protect_suit_content = #{eProtectSuitContent},</if>
            <if test="eIsResProtect != null">e_is_res_protect = #{eIsResProtect},</if>
            <if test="eResProtectContent != null">e_res_protect_content = #{eResProtectContent},</if>
            <if test="eIsFallArrest != null">e_is_fall_arrest = #{eIsFallArrest},</if>
            <if test="eFallArrestContent != null">e_fall_arrest_content = #{eFallArrestContent},</if>
            <if test="eIsOtherProtect != null">e_is_other_protect = #{eIsOtherProtect},</if>
            <if test="eOtherProtectContent != null">e_other_protect_content = #{eOtherProtectContent},</if>
            <if test="eIsContinueMonitoring != null">e_is_continue_monitoring = #{eIsContinueMonitoring},</if>
            <if test="eSafeAttendant != null">e_safe_attendant = #{eSafeAttendant},</if>
            <if test="eSafeAttendantSign != null">e_safe_attendant_sign = #{eSafeAttendantSign},</if>
            <if test="eIsNaturalVen != null">e_is_natural_ven = #{eIsNaturalVen},</if>
            <if test="eNaturalVenContent != null">e_natural_ven_content = #{eNaturalVenContent},</if>
            <if test="eIsMecVen != null">e_is_mec_ven = #{eIsMecVen},</if>
            <if test="eMecVenContent != null">e_mec_ven_content = #{eMecVenContent},</if>
            <if test="eIsExxtractDust != null">e_is_exxtract_dust = #{eIsExxtractDust},</if>
            <if test="eIsAnalyzeAir != null">e_is_analyze_air = #{eIsAnalyzeAir},</if>
            <if test="eAnalyzeAirContent != null">e_analyze_air_content = #{eAnalyzeAirContent},</if>
            <if test="eAnalyzeAirInterval != null">e_analyze_air_interval = #{eAnalyzeAirInterval},</if>
            <if test="eIsOtherVen != null">e_is_other_ven = #{eIsOtherVen},</if>
            <if test="eOtherVenContent != null">e_other_ven_content = #{eOtherVenContent},</if>
            <if test="eIsOtherSafety != null">e_is_other_safety = #{eIsOtherSafety},</if>
            <if test="eOtherSafetyContent != null">e_other_safety_content = #{eOtherSafetyContent},</if>
            <if test="fIsAfterWorkSafe != null">f_is_after_work_safe = #{fIsAfterWorkSafe},</if>
            <if test="fAfterWorkSafeContent != null">f_after_work_safe_content = #{fAfterWorkSafeContent},</if>
            <if test="gFirstSign != null">g_first_sign = #{gFirstSign},</if>
            <if test="gFirstDate != null">g_first_date = #{gFirstDate},</if>
            <if test="gSecondSign != null">g_second_sign = #{gSecondSign},</if>
            <if test="gSecondDate != null">g_second_date = #{gSecondDate},</if>
            <if test="gThirdSign != null">g_third_sign = #{gThirdSign},</if>
            <if test="gThirdDate != null">g_third_date = #{gThirdDate},</if>
            <if test="gIsSpecialAssessment != null">g_is_special_assessment = #{gIsSpecialAssessment},</if>
            <if test="gSpecialAssessment != null">g_special_assessment = #{gSpecialAssessment},</if>
            <if test="hSafeMesSign != null">h_safe_mes_sign = #{hSafeMesSign},</if>
            <if test="hSafeMesDate != null">h_safe_mes_date = #{hSafeMesDate},</if>
            <if test="hSafeMesA4Sign != null">h_safe_mes_a4_sign = #{hSafeMesA4Sign},</if>
            <if test="hSafeMesA4Date != null">h_safe_mes_a4_date = #{hSafeMesA4Date},</if>
            <if test="iOneASign != null">i_one_a_sign = #{iOneASign},</if>
            <if test="iOneADate != null">i_one_a_date = #{iOneADate},</if>
            <if test="iOneBSign != null">i_one_b_sign = #{iOneBSign},</if>
            <if test="iOneBDate != null">i_one_b_date = #{iOneBDate},</if>
            <if test="jOneBSign != null">j_one_b_sign = #{jOneBSign},</if>
            <if test="jOneBDate != null">j_one_b_date = #{jOneBDate},</if>
            <if test="jResMemberSign != null">j_res_member_sign = #{jResMemberSign},</if>
            <if test="jResMemberDate != null">j_res_member_date = #{jResMemberDate},</if>
            <if test="jEISign != null">j_e_i_sign = #{jEISign},</if>
            <if test="jEIDate != null">j_e_i_date = #{jEIDate},</if>
            <if test="kConfirmSign != null">k_confirm_sign = #{kConfirmSign},</if>
            <if test="kConfirmDate != null">k_confirm_date = #{kConfirmDate},</if>
            <if test="lNoticeSign != null">l_notice_sign = #{lNoticeSign},</if>
            <if test="lNoticeDate != null">l_notice_date = #{lNoticeDate},</if>
            <if test="mAssessDContent != null">m_assess_d_content = #{mAssessDContent},</if>
            <if test="mAssessDSign != null">m_assess_d_sign = #{mAssessDSign},</if>
            <if test="mAssessDDate != null">m_assess_d_date = #{mAssessDDate},</if>
            <if test="mOtherLicenceOne != null">m_other_licence_one = #{mOtherLicenceOne},</if>
            <if test="mOtherLicenceTwo != null">m_other_licence_two = #{mOtherLicenceTwo},</if>
            <if test="mOtherLicenceThree != null">m_other_licence_three = #{mOtherLicenceThree},</if>
            <if test="wordUrl != null">word_url = #{wordUrl},</if>
            <if test="pdfUrl != null">pdf_url = #{pdfUrl},</if>
            <if test="dIsDisFeeder != null">d_is_dis_feeder = #{dIsDisFeeder},</if>
            <if test="cIsYesDanger != null">c_is_yes_danger = #{cIsYesDanger},</if>
            <if test="cIsEquipmentHazards != null">c_is_equipment_hazards = #{cIsEquipmentHazards},</if>
            <if test="cIsFacilityHazards != null">c_is_facility_hazards = #{cIsFacilityHazards},</if>
            <if test="cIsOtherId != null">c_is_other_id = #{cIsOtherId},</if>
            <if test="eSafetySign1 != null">e_safety_sign1 = #{eSafetySign1},</if>
            <if test="eSafetySign2 != null">e_safety_sign2 = #{eSafetySign2},</if>
            <if test="eOther1 != null">e_other1 = #{eOther1},</if>
            <if test="eOther2 != null">e_other2 = #{eOther2},</if>
            <if test="eOther3 != null">e_other3 = #{eOther3},</if>
            <if test="eOther4 != null">e_other4 = #{eOther4},</if>
        </trim>
        where bp_id = #{bpId}
    </update>

    <update id="deleteTPermitBlindPlateById" parameterType="Long">
        update t_permit_blind_plate set del_flag = 2 where bp_id = #{bpId}
    </update>

    <update id="deleteTPermitBlindPlateByIds" parameterType="String">
        update t_permit_blind_plate set del_flag = 2 where bp_id in
        <foreach item="bpId" collection="array" open="(" separator="," close=")">
            #{bpId}
        </foreach>
    </update>
    
</mapper>