insert into visit_setting(car_num_way, face_way, type_name, audit_way, remark, community_id, flow_id, flow_name, setting_id, pa_id, pa_num, car_free_time, visit_number, is_need_review, visitor_code) values (#{carNumWay}, #{faceWay}, #{typeName}, #{auditWay}, #{remark}, #{communityId}, #{flowId}, #{flowName}, #{settingId}, #{paId}, #{paNum}, #{carFreeTime}, #{visitNumber}, #{isNeedReview}, #{visitorCode}) update visit_setting t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.car_num_way= #{carNumWay} , t.face_way= #{faceWay} , t.type_name= #{typeName} , t.audit_way= #{auditWay} , t.remark= #{remark} , t.community_id= #{communityId} , t.flow_id= #{flowId} , t.flow_name= #{flowName} , t.pa_id= #{paId} , t.pa_num= #{paNum} , t.car_free_time= #{carFreeTime} , t.visit_number= #{visitNumber} , t.is_need_review= #{isNeedReview} , t.visitor_code= #{visitorCode} where 1=1 and t.setting_id= #{settingId}