2025-09-05 15:19:24,600 - manual_migration - INFO - 开始手动添加 location_type 字段...
2025-09-05 15:19:24,601 - manual_migration - INFO - 开始添加 location_type 字段...
2025-09-05 15:19:24,633 - manual_migration - INFO - 正在添加 location_type 字段...
2025-09-05 15:19:24,670 - manual_migration - INFO - ✅ location_type 字段添加成功
2025-09-05 15:19:24,670 - manual_migration - INFO - 正在为现有记录设置默认值...
2025-09-05 15:19:24,670 - manual_migration - INFO - ✅ 已为 0 条记录设置为物理库位（location_type = 1）
2025-09-05 15:19:24,671 - manual_migration - INFO - 验证结果：总记录数 32，物理库位 32，逻辑库位 0
2025-09-05 15:19:24,671 - manual_migration - INFO - 🎉 location_type 字段添加完成！
2025-09-05 15:19:24,671 - manual_migration - INFO - 显示更新后的表结构：
2025-09-05 15:19:24,673 - manual_migration - INFO - vwed_operate_point_layer 表结构：
2025-09-05 15:19:24,673 - manual_migration - INFO - Field		Type		Null	Key	Default	Extra
2025-09-05 15:19:24,673 - manual_migration - INFO - --------------------------------------------------------------------------------
2025-09-05 15:19:24,673 - manual_migration - INFO - id		char(64)		NO	PRI	None	
2025-09-05 15:19:24,673 - manual_migration - INFO - operate_point_id		char(64)		NO	MUL	None	
2025-09-05 15:19:24,673 - manual_migration - INFO - station_name		varchar(64)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - area_name		varchar(64)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - scene_id		varchar(64)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - layer_index		int		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - layer_name		varchar(64)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - is_occupied		tinyint(1)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - goods_content		varchar(100)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - goods_weight		int		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - goods_volume		int		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - is_locked		tinyint(1)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - is_disabled		tinyint(1)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - is_empty_tray		tinyint(1)		NO		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - locked_by		varchar(128)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - tags		varchar(255)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - max_weight		int		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - max_volume		int		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - layer_height		int		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - goods_stored_at		datetime		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - goods_retrieved_at		datetime		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - last_access_at		datetime		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - description		text		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - config_json		text		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - created_at		datetime(6)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - updated_at		datetime(6)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - is_deleted		tinyint(1)		YES		None	
2025-09-05 15:19:24,673 - manual_migration - INFO - location_type		int		NO		1	
2025-09-05 15:19:24,674 - manual_migration - INFO - ✅ 迁移成功完成！
