chore: 兼容旧数据库 #36

Merged
longbot merged 8 commits from :main into main 2025-12-24 08:12:26 +00:00
Collaborator
No description provided.
zksu added 8 commits 2025-12-24 08:00:34 +00:00
0f5610e02e refactor(api): 统一查询参数处理逻辑,使用where对象集中管理
将分散的查询参数如status、customer_id、ids等统一迁移到where对象中处理
简化DTO结构,移除冗余字段
适配器层统一从where对象获取查询条件
bc2ed4615e feat(customer): 实现客户数据同步功能并增强客户管理
重构客户服务层,添加客户数据同步功能
扩展客户实体字段以支持完整客户信息存储
优化客户列表查询性能并添加统计功能
移除废弃的WpSite相关代码和配置
1628c8de41 feat(adapter): 添加getAll方法支持批量获取数据
实现WooCommerceAdapter中的getAllProducts、getAllOrders等方法
添加ISiteAdapter接口中的对应方法定义
更新customer.service使用getAllCustomers方法
677b11c48f refactor: 移除废弃的WordPress产品相关代码
清理不再使用的WordPress产品模块代码,包括实体、DTO、服务和控制器
统一使用新的产品模块接口
0d25078380 refactor: 移除Variation实体及相关引用
删除Variation实体及其在服务、DTO和配置中的引用
添加产品表重命名的迁移脚本
longbot approved these changes 2025-12-24 08:12:15 +00:00
@ -261,3 +235,2 @@
...(params.search ? { search: params.search } : {}),
...(orderby ? { orderby } : {}),
...(orderDir ? { order: orderDir } : {}),
// ...(orderBy ? { orderBy } : {}),
Collaborator

????????

????????
longbot merged commit b8dc335932 into main 2025-12-24 08:12:26 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: yoone/API#36
No description provided.