refactor(common): 移除未使用的XML解析测试代码

移除test_test.go中未完成的Mapxml函数和login/main.go中的
XML解析注释代码,清理无用的导入包,优化代码结构

BREAKING CHANGE: 删除了modules/config/model/map_moster_node.go
文件中的MapPit相关模型定义
```
This commit is contained in:
昔念
2026-02-24 12:53:07 +08:00
parent 5e1204ab2f
commit 6c26e448fd
8 changed files with 772 additions and 1440 deletions

View File

@@ -0,0 +1,8 @@
-- 所有宠物ID + 对应记录总数去重前
SELECT
(data->>'ID')::INT AS pet_id, -- 宠物ID
COUNT(*) AS total_records -- 该宠物的总持有记录数
FROM "player_pet"
WHERE data->>'ID' IS NOT NULL -- 过滤无宠物ID的无效记录
GROUP BY (data->>'ID')::INT
ORDER BY total_records DESC, pet_id ASC; -- 按数量降序ID升序排列