select stand_id, allow_in, allow_out, task_id, is_lock, stand_status, equipment_id, area_id, stand_type, stand_ip from tbl_app_stand insert into tbl_app_stand stand_id, allow_in, allow_out, task_id, is_lock, stand_status, equipment_id, area_id, stand_type, stand_ip, #{standId}, #{allowIn}, #{allowOut}, #{taskId}, #{isLock}, #{standStatus}, #{equipmentId}, #{areaId}, #{standType}, #{standIp}, update tbl_app_stand allow_in = #{allowIn}, allow_out = #{allowOut}, task_id = #{taskId}, is_lock = #{isLock}, stand_status = #{standStatus}, equipment_id = #{equipmentId}, area_id = #{areaId}, stand_type = #{standType}, stand_ip = #{standIp}, where stand_id = #{standId} delete from tbl_app_stand where stand_id = #{standId}