a.id AS "id", a.operator_id AS "operatorId", a.operator_name AS "operatorName", a.member_code AS "memberCode", a.member_name AS "memberName", a.detection_repeated_old AS "detectionRepeatedOld", a.detection_liveness_old AS "detectionLivenessOld", a.detection_repeated_new AS "detectionRepeatedNew", a.detection_liveness_new AS "detectionLivenessNew", a.ip_addr AS "ipAddr", a.create_by AS "createBy.id", a.create_date AS "createDate", a.mac_addr AS "macAddr", a.update_by AS "updateBy.id", a.update_date AS "updateDate", a.remarks AS "remarks", a.del_flag AS "delFlag" INSERT INTO noseprint_switch_setting_log( id, operator_id, operator_name, member_code, member_name, detection_repeated_old, detection_liveness_old, detection_repeated_new, detection_liveness_new, ip_addr, create_by, create_date, mac_addr, update_by, update_date, remarks, del_flag ) VALUES ( #{id}, #{operatorId}, #{operatorName}, #{memberCode}, #{memberName}, #{detectionRepeatedOld}, #{detectionLivenessOld}, #{detectionRepeatedNew}, #{detectionLivenessNew}, #{ipAddr}, #{createBy.id}, #{createDate}, #{macAddr}, #{updateBy.id}, #{updateDate}, #{remarks}, #{delFlag} ) UPDATE noseprint_switch_setting_log SET operator_id = #{operatorId}, operator_name = #{operatorName}, member_code = #{memberCode}, member_name = #{memberName}, detection_repeated_old = #{detectionRepeatedOld}, detection_liveness_old = #{detectionLivenessOld}, detection_repeated_new = #{detectionRepeatedNew}, detection_liveness_new = #{detectionLivenessNew}, ip_addr = #{ipAddr}, mac_addr = #{macAddr}, update_by = #{updateBy.id}, update_date = #{updateDate}, remarks = #{remarks} WHERE id = #{id} UPDATE noseprint_switch_setting_log SET del_flag = #{DEL_FLAG_DELETE} WHERE id = #{id}