insert into access_control_white( third_id,id_card,access_control_key,person_name,machine_id,acw_id,person_id,tel,start_time,end_time,community_id,person_type ) values ( #{thirdId},#{idCard},#{accessControlKey},#{personName},#{machineId},#{acwId},#{personId},#{tel},#{startTime},#{endTime},#{communityId},#{personType} ) update access_control_white t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.third_id= #{thirdId} , t.id_card= #{idCard} , t.access_control_key= #{accessControlKey} , t.person_name= #{personName} , t.machine_id= #{machineId} , t.person_id= #{personId} , t.tel= #{tel} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.community_id= #{communityId} , t.person_type= #{personType} where 1=1 and t.acw_id= #{acwId}