89233bc3da
feat: add customer marketing module (M1-M6 backend)
...
Implement referral, points, coupons, commission, member levels, and order integration with migration SQL and background jobs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:42:08 +08:00
d791f7b251
fix: 批量任务插入后回填 JobItemId,修复 MQ 消费后仍待处理
...
InsertItemsAsync 批量插入后按 MessageId 回填自增 Id;消费者支持 JobItemId=0 时按 JobId+MessageId 解析子项。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 15:12:41 +08:00
bb09a51f4a
refactor: 合并 OrderTask 至批量任务,移除 t_order_task 依赖
...
Excel 导入与任务进度统一走 t_order_batch_job;删除旧实体、仓储与 /order/task/* 接口,上传返回 jobId。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 12:36:57 +08:00
793085607a
refactor: 字节枚举整型落库并统一发布快照 Status
...
发布记录 Status 改为 EsSnapshotStatus(TINYINT),计费启用判断改用 EnableStatus;db.sql 与 migrate_enum_int_comments.sql 补全枚举字段注释及旧库迁移。
2026-07-22 10:22:54 +08:00
5a2d56986a
fix: 字典创建支持恢复软删项并完善类型迁移脚本
...
批量导入时若同类型编码曾被软删,改为恢复并更新而非插入,避免唯一键冲突 500;迁移脚本补全预置类型中文名并支持覆盖 Remark/TypeSort。
2026-07-21 18:49:59 +08:00
93cf065165
feat: 新增字典类型元数据表与类型备注 API
...
支持字典类型备注维护及左侧类型列表查询,创建字典项时自动补齐类型元数据。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 17:48:42 +08:00
a4d6400318
refactor: 订单批量任务改走 Fake.EventBus.RabbitMQ
...
移除自建消费者与队列拓扑,统一由事件总线发布/消费,并优化下游转发查询与配置。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 17:54:29 +08:00
dc3071c90d
feat: 物流单绑定包裹/库存(冻结可用库存)
...
支持我的订单对已创建物流单绑定仓储资源:新增 t_order_stock_bind 与 stock-bind API,库存/包裹增加 FrozenQty、AvailableQty。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 10:32:44 +08:00
1cf55b2669
fix: 地址簿管理端可查全部,修复 SqlSugar 条件翻译
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 12:30:30 +08:00
674cbdd011
feat: 店铺真授权跳转与地址类型(发件/退件/收件)
...
对接 Lazada/Shopee/TikTok/Temu OAuth 与回调落库,移除手工店;地址管理支持按类型默认与揽收校验。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 10:25:13 +08:00
341a318f0b
feat: 客户发件地址与揽收订单,复用小包创建全链路。
...
新增地址簿 CRUD、pickup/create、订单 orderSource 筛选;附带包裹商品图片上传接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 18:58:48 +08:00
d0df7e864c
新增快递到仓 API 与表结构,并支持 SKU 图片上传。
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 20:06:47 +08:00
c36bdb237c
重构客户编号生成规则,并修复店铺订单 summary SQL 翻译错误。
...
采用年码+月码+序号编码(5/6位,单月最多10000);summary 接口改用 hasStoreFilter 避免 SqlSugar 生成非法 SQL。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 17:54:29 +08:00
a383ee6f32
feat: 实现仓储模块与平台店铺订单后端能力
...
新增仓储领域实体、仓储库、WarehouseService 全套接口及数据库迁移脚本;
实现店铺授权、店铺订单服务与库存匹配创建小包单;补充仓储模块 RBAC 权限种子数据。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 15:19:35 +08:00
9d57d221af
fix: 微信注册软删除占坑与字段过长导致保存失败
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-11 10:15:38 +08:00
4f3bbd17bc
feat(order): 订单批量任务 RabbitMQ 异步处理与治理 API
...
引入批量 Job 表、RabbitMQ 队列与消费者,支持导入/小包创建及我的订单批量操作异步化,并提供任务列表、重试失败、取消 pending 与 DLX 监控接口及测试。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 09:52:22 +08:00
90f6c25b04
feat(order): 问题件/理赔件标记、通知投递与自动触发
...
新增 mark-problematic/mark-claimed/handle-status 接口,异常事件审计表与占位符渲染;inApp/email 通知及下单/入库/出库自动触发运行时。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:46:52 +08:00
0c763f9707
fix(channel): 修复问题模板重复校验 SQL 语法错误
...
避免 SqlSugar 翻译闭包 null 比较,改用分支与布尔标志构建查询条件。
2026-07-06 15:28:01 +08:00
d49573fe9a
feat(channel): 新增问题模板 CRUD 与 options API
...
支持按组织与问题类型维护通知模板,含建表脚本与仓储层唯一性校验。
2026-07-06 14:58:37 +08:00
cde0ccb6b0
feat: 新增工作台与实时监控统计 API
...
- GET /order/workplace-stats 与 /order/workplace-trend 供工作台使用
- GET /monitor/overview 供实时监控页订单/客户/轨迹统计
- 扩展订单仓储聚合查询,status-counts 同步应用数据权限
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 18:24:48 +08:00
0a5bd75618
feat: 新增财务应收应付接口并补充 Swagger 接口名称
...
- 新增 Finance 模块应收应付分页查询及订单费用联查
- 为 DataPerm、Xhs 等缺失接口补充中文 summary 接口名称
- 优化微信公众号验签 Swagger 命名并补充路由集成测试
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 12:15:15 +08:00
c442833d9c
feat(数据权限): 实现 P1 后端 API、有效范围合并与订单列表集成
...
- 新增 DataPerm 模块(配置 CRUD、模板、字段脱敏、变更/访问日志 API)及 SQL 脚本
- 订单列表/导出接入 EffectiveScopeBuilder 五维数据权限过滤
- 修复集成测试 JSON 反序列化与 RBAC 用户名解析;新增 DataPerm API 集成测试
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 10:27:37 +08:00
ffaf325563
fix(xhs): repair publish/task list SQL and RBAC menu seeds
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 11:23:37 +08:00
af53c48f7f
feat: 新增小红书模块后端(Agent/任务/发布/分析/技能/AI)及 SQL 种子与 RBAC GUID 修复脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 09:43:09 +08:00
e4894f9627
feat: 批量发送邮件 API(模板、SMTP 配置、发送记录)
...
新增模板/账号持久化、SMTP 测试与单封发送接口,发送成功后写入邮件记录表供前端列表展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 19:56:35 +08:00
e875f0c012
feat: price-check by cargo type and warehouse, customer auto-code, track apiCode
...
Support multi cargo-type and warehouse combinations in price check billing. Auto-generate customer codes (W+yyMM+seq) on create/register; require email. Use order DownstreamSupplierCode as track UpsertSmallBag apiCode.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 18:40:10 +08:00
545f0825f8
feat(order): 规则快照下游元数据、订单绑定字段与系统其他配置
...
排货发布 enrich Providers 并确认渠道时写入 t_order 下游四字段;接入 itfx 元数据客户端;系统其他配置与小包轨迹 DB 配置;手动轨迹 UpsertSmallBag 接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 11:31:15 +08:00
fe30d071e6
feat(order): 修复列表状态筛选、收件国家名与小包轨迹同步
...
改用仓储链式 Where 修复分页列表状态过滤失效;保存并返回 ConsigneeCountryName;预报成功后异步 UpsertSmallBag;仅草稿/已预报可删除。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 19:43:35 +08:00
e7fd69b644
feat(order): 排货确认渠道与应付计费,出入库计费对齐设计
...
- 预报/入库后按排货规则选服务渠道并写入渠道买价应付费用
- 排货发布快照 Providers 去除 CreateTime/UpdateTime
- 出库扫描扩展 OutboundRecord 字段与 ApplyShipBillingByWaybillAsync
- 服务渠道买价发布预览;按 ChargingStage 删除应付费用
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 16:44:04 +08:00
d766343ffe
feat(customer): account flow ledger, pay deduct balance, status counts
...
Add t_customer_account_flow with list API, deduct balance on order pay, credit ledger on recharge approve, and GET /order/status-counts for tab badges.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 19:09:43 +08:00
82df5d1e79
feat(order): add order edit APIs, inbound lookup, and fee output
...
Support order detail/weight/declaration updates, receivable and payable recalculation, inbound scan order lookup, receive billing overwrite, and OrderOutput feeList for my-orders drawer.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 17:30:41 +08:00
5e26de6ff3
feat: remove ChargingTime and bill receivables by weight stage
...
Drop sell/buy price charging-time config; write receivable fees after forecast or receive chargeable weight, hook inbound billing, fix order list status filter, and add DB migration.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 16:24:53 +08:00
1c5a38ad73
微信登录和创建应收和应付费用
2026-06-24 17:00:35 +08:00
c1219e0238
ok
2026-06-10 17:57:43 +08:00
73d4d112a2
1
2026-06-09 15:37:56 +08:00
96724376a6
feat: new
2026-04-29 09:38:07 +08:00
6458ab89ba
fix
2026-04-22 17:48:05 +08:00
22bb8ab425
ai-fix
2026-04-21 17:54:52 +08:00
829af8c576
upgrade
2026-04-16 17:22:58 +08:00
91a8ccdecb
ai-init
2026-04-15 15:25:38 +08:00