8545e6c28c
feat: 服务渠道支持黑名单区,排货命中跳过该渠道
...
Build and Deploy / deploy (push) Successful in 1m21s
合并迁移脚本含 BlacklistAreaId 与应付计重字段;规则发布钉包,LIVE 即时加载。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:47:26 +08:00
f66d567c49
feat: 服务渠道独立计重,应付与揽收应付用渠道计费重
...
Build and Deploy / deploy (push) Successful in 1m24s
应收仍走销售产品计重;排货/重算应付/对账/揽收推费按渠道计重写入 PayableChargeableWeight,不改 ChargeableWeight。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:32:05 +08:00
b8b18c4f59
feat: 开票管理与品牌/收款码同源出图
...
Build and Deploy / deploy (push) Successful in 1m20s
新增发票申请/抬头/审批接入,并将品牌 Logo、收款码改为 API 同源文件地址,避免浏览器直连 COS 证书域名失败。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 11:55:34 +08:00
7940b50edf
feat: 订单通知加固(邮件订阅、统一日志、Outbox 重试与系统 SMTP)
...
Build and Deploy / deploy (push) Successful in 1m19s
合并微信/邮件通知日志,支持 H5 双通道订阅、系统发信与操作日志摘要;上线前执行 sql/migrate_order_notify_all_20261121.sql。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-21 10:55:24 +08:00
52df7307f6
feat: 仓租费率与日结扣费接入账户流水,并补充待支付微信通知
...
Build and Deploy / deploy (push) Successful in 1m20s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:56:54 +08:00
2014ec3065
feat: 接入微信公众号订单状态模板通知
...
Build and Deploy / deploy (push) Successful in 1m21s
支持入库/出库/签收/派送失败/问题件推送,客户默认可选订阅,运营可配模板并试发。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:10:01 +08:00
0e68f7a87e
feat: 单号规则可配置生成(运单/客户单号/揽收/大包/主单)
...
Build and Deploy / deploy (push) Successful in 1m18s
支持按产品、渠道、国家匹配占位符公式,未命中沿用内置规则。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 18:12:52 +08:00
c2eae1c327
feat: 落库微信 UnionID,支持换公众号昵称+手机号迁移 OpenID
...
Build and Deploy / deploy (push) Successful in 1m17s
注册/绑定写入 UnionID;授权登录可回填。换公众号时昵称命中存量客户可凭手机号确认,更新 WechatOpenid 与 UnionID 后登录。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:34:50 +08:00
9bbdd73690
feat: 批量邮件记录关键词查询与近30天查重预检
...
Build and Deploy / deploy (push) Successful in 1m56s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 14:59:12 +08:00
ca95e19186
feat: SKU/预报下游申报明细带产品标识编码三字段
...
Build and Deploy / deploy (push) Successful in 1m0s
库内 SKU 与 createOrderOne items 对齐 productId/nonStdProductId/stdProductId;无值时仍序列化为 null。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 11:19:12 +08:00
314c5ac02f
feat: 申报明细新增产品标识编码/非标产品标识编码/标准产品标识编码
...
Build and Deploy / deploy (push) Successful in 1m3s
- t_order_declaration 新增 ProductId、NonStdProductId、StdProductId(迁移 migrate_order_declaration_product_ids_20261019.sql)
- 下单/改单/开放接口/Excel 模板入参、订单详情出参、下游 createOrderOne 报文同步字段
- 自动触发公式目录增加三个字段
2026-10-19 15:48:16 +08:00
7a0affe2d4
fix: 公告广播可见性改为反序列化判定,避免 JSON 列比较失败
...
Build and Deploy / deploy (push) Successful in 1m1s
ReceiverIds 改为 text 存储并补充迁移;广播对客户/收件箱可见。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 09:57:25 +08:00
5fd25d479c
fix: 去掉创单后置步骤表,轨迹订单改在排货成功后创建
...
Build and Deploy / deploy (push) Successful in 1m6s
回到创单提交后各自投递;并在下单接口注释同步与 MQ 步骤。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:05:26 +08:00
34c47a3173
fix: 创单后置步骤随订单落库,提交后再单独执行
...
Build and Deploy / deploy (push) Successful in 1m0s
进程重启或事务回滚不再丢掉 9610、轨迹和揽收;排货完成后再补轨迹、面单和计费相关触发。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 20:07:51 +08:00
da27fa4377
feat: 重算应付放行锁渠道池校验,支持切换价格/规则版本与服务商名称
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 18:16:38 +08:00
2b0158acb4
feat: 运单操作日志 MVP,记录编辑/件重尺/重算/排货字段变更
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 17:32:33 +08:00
6852135774
feat: 仓库地址排序备注与用户注册错误提示
...
Build and Deploy / deploy (push) Successful in 1m0s
仓库地址增加排序/备注字段与迁移;用户创建时对邮箱冲突等给出明确中文提示。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 14:12:36 +08:00
f063c99d1b
feat: OpenAPI 增加轨迹/文件查询,创单按 clientNo 幂等
...
客户 HMAC 通过后再查本客户订单;禁止下游面单,附件增加 POD。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 18:48:21 +08:00
74a71991b2
feat: 统一价格/黑名单/偏远分区匹配,并落库 MatchDim
...
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 16:12:09 +08:00
5fb6888b55
feat: 揽收承运推送件重尺并按卖价买价出账
...
Build and Deploy / deploy (push) Successful in 1m1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 19:19:24 +08:00
ddb8efba15
feat: 9610汇总下单关联出口资质,并补齐批量模板字段
...
Build and Deploy / deploy (push) Successful in 58s
下单/导入在 9610Summary 时校验并落库 ExportQualificationId(可回落默认备案),写入 9610 申报企业信息;专线小包模板长宽高改必填并增加资质备案列。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:12:39 +08:00
8ce8b82f48
feat: 客户出口资质备案与申报要素,9610 预报直连下游
...
Build and Deploy / deploy (push) Successful in 1m49s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 18:13:55 +08:00
e5c9364434
feat: 排货规则支持判断条件公式并完善失败溯源
...
Build and Deploy / deploy (push) Successful in 1m49s
用 MatchCondition 中文公式筛选可用渠道后再按方案选渠;失败时落完整排货过程(阶段、公式摘要、池汇总),并兼容旧 CustomerIds。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:43:05 +08:00
8d1e3ab17f
feat: 揽收方向与地址类型,补充迁移并清理已落地 SQL
...
Build and Deploy / deploy (push) Successful in 1m47s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:34:55 +08:00
43fcb4136a
feat: SkuImage 存 storage key,包裹 summary,修复批次测试
...
Build and Deploy / deploy (push) Successful in 1m48s
避免签名 URL 超长写库;新增包裹状态汇总;OrderBatchJobCoordinator 注入 IFileStorage 后补齐单测。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 12:30:35 +08:00
d1d31fee8a
fix: 仓储图片上传支持 customerId,9610 明细补并发戳且主从安全
...
Build and Deploy / deploy (push) Successful in 1m43s
上传接口接受 query customerId;ConcurrencyStamp 默认改为空串并用主键确定性回填,避免 Galera UUID unsafe。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 12:09:36 +08:00
25b4211b46
feat: 销售产品门户目录、线路排序与公告/到货调整
...
新增门户目录接口与 route_sort 字段迁移;完善公告创建与包裹到货相关逻辑。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 18:39:55 +08:00
a70f6f2a87
feat: 接入 9610 汇总申报,字段按业务含义命名并对齐运单
...
含清单/报关单拉取、ITFX 转发配置、迁移脚本与拣货单号扩展。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:46:04 +08:00
2018e45a7d
feat: 代发进度统计、申报HS分列与异常事件表迁移脚本
...
补充代发进度 Tab 计数、PrimarySkuCodes 与 Im/Ex HS 编码输出;新增 t_order_exception_event 幂等迁移(Handler*、ConcurrencyStamp)并同步 db.sql。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:06:16 +08:00
9d813a5f89
feat: 代发订单 FulfillmentType 与进度筛选、绑定拣货后端
...
支持 direct/warehouse 分轨、代发进度与库位排序、国内单号检索及到仓关联订单;扩展 SKU/店铺代发与库存绑定扣减能力。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:27:37 +08:00
95940331ce
feat: sync workplace spend stats and consolidate schema scripts into db.sql
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 16:26:22 +08:00
c8107cb565
feat: add additional-service billing, conditions, and fee lifecycle hardening
...
Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 18:04:28 +08:00
592054f062
feat: extract global AI service and persist sales-product publish AI reports
...
Move provider/chat APIs from /xhs/ai to /ai, rename t_ai_provider, and require adopted AI analysis on price publish.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 15:56:40 +08:00
41f4c58e99
Improve draft predeclare billing and structured create-fail payload.
...
Re-run forecast billing on draft pre-declare, and expose draftSaved/orderId/serviceNo via ErrorCode/Data/details for clearer place-order failure UX.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 19:30:27 +08:00
03f11a276f
Add order attachment files table and move system labels off Order.
...
Persist generated/printed/downstream labels in t_order_file, drop Order.LabelUrl generate-status fields, and expose file list/upload/delete APIs with customer read-only systemLabel access.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 16:32:55 +08:00
6f436f795f
Fix downstream forecast success detection and persist provider service no.
...
Treat itfx body code/msg as business result, store full request/response, and write Data.serviceNo/trackNo back to the order.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 10:21:23 +08:00
69d234c705
feat: simplify WeChat register and require contact before order
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 13:07:29 +08:00
c5fb4c7e58
feat: add employee profile, IDE employee nos, and marketing invite/coupon fixes
...
Introduce t_employee linked to RBAC users, switch employee numbers to IDE001+, and keep invite bind/newcomer coupon backend changes. Drop retired sql/migrate and seed scripts in favor of db.sql.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 23:18:57 +08:00
3d5eaa223a
feat: 小包全链路加固、待排货与运单号 IDE 前缀
...
查价/下单/入库/出库统一校验与计费上下文;待排货状态及可选入库排货;运单号改为 IDE+yyMMddHHmmss;补充迁移 SQL 与测试修复。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 19:00:55 +08:00
a1daea6b35
refactor: 仓储表 C_* 改为 c_*,优化专线小包批量模板
...
- 仓储实体与 db.sql 统一为小写 c_ 前缀,新增 migrate_rename_warehouse_C_to_c.sql
- 专线小包批量模板精简版/标准版双模板,Excel 必填标红与发件地址上传参数
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 16:18:59 +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
377cc525d6
feat: 增强批量任务子项反馈与客户单号持久化
...
统一成功/失败结果快照,补全客户单号与 Excel 行号;系统重试耗尽后标记失败避免子项长期停留在执行中;任务 API 返回 pending/running/cancelled 计数。
2026-07-22 12:00:53 +08:00
793085607a
refactor: 字节枚举整型落库并统一发布快照 Status
...
发布记录 Status 改为 EsSnapshotStatus(TINYINT),计费启用判断改用 EnableStatus;db.sql 与 migrate_enum_int_comments.sql 补全枚举字段注释及旧库迁移。
2026-07-22 10:22:54 +08:00
93cf065165
feat: 新增字典类型元数据表与类型备注 API
...
支持字典类型备注维护及左侧类型列表查询,创建字典项时自动补齐类型元数据。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 17:48:42 +08:00
188aed1ee6
feat: 店铺订单创建物流/代发,并补齐收件人字段与种子数据
...
- 新增 batch-create-logistics / batch-create-fulfill:按平台行建物流单并回写 LinkedOrderId,代发支持绑定冻结与失败回滚
- ParcelBuilder 支持无 SKU 映射的平台行申报;批量创建可指定 OrderSource=platform
- 库存绑定候选接口支持 orderId=0 草稿选仓
- 店铺订单增加结构化收件人字段(db.sql + 迁移脚本),拉单回填;补充 customer9 店铺/揽收种子与 ConcurrencyStamp 修复脚本
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 22:33:55 +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
4b7c396d92
包裹明细增加商品图片 ImageUrl,支持采集落库与列表返回。
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 14:32:55 +08:00
f0d0659750
包裹明细增加 AttributeText 属性字段。
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 20:10:39 +08:00
d0df7e864c
新增快递到仓 API 与表结构,并支持 SKU 图片上传。
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 20:06:47 +08:00