d38963055b
feat: 支付用券/会员折扣写入负数应收行,订单应收与实付一致
...
- 支付成功后写入 coupon_discount / member_discount 负数应收(币种、阶段跟随运费行,记录券码/会员等级)
- 营销重算的折前应收排除抵扣行,避免重复扣减;规则公式忽略抵扣行
- 预报/入库计费任务跳过已付款订单,防止重复投递冲掉应收
- 手工新增费用禁止抵扣费用项;费用输出给出抵扣行显示名
- 订单详情返回折前小计、会员折扣、优惠券抵扣、客户实付
- 新增 fee_item 字典迁移 migrate_fee_item_marketing_discount_20261019.sql
2026-10-19 15:48:15 +08:00
223d32f62a
feat: 订单支付时选券,新增支付预览接口并按所选券扣款核销
...
Build and Deploy / deploy (push) Successful in 1m3s
- 新增 GET /order/pay-preview:返回会员折/券互斥后的应付拆解与本单可选券
- POST /order/pay 支持 couponInstanceId(null 沿用已绑定券,0 不用券,>0 指定券),按试算应付扣款并核销券、释放被替换券的锁定
- 被当前订单锁定的券视为可用,修复入库/编辑重算营销金额时误报券被占用
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 14:01:00 +08:00
8f64bbf02d
feat: 国家地区支持增删改与导入,列表返回创建和更新时间
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 15:54:22 +08:00
c6e765e6e2
fix: 公告列表用 mapId 解析当前用户,管理端可查全部
...
Build and Deploy / deploy (push) Successful in 1m2s
同步监控 overview 支持日周月经营指标与积压队列。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 09:48:42 +08:00
b7be742046
feat: 店铺订单支持仓储代发(wms)建单,放宽创建状态限制
...
Build and Deploy / deploy (push) Successful in 4m34s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 15:39:31 +08:00
e85dfb80b5
feat: 仓配开放 API 与后台用户启停
...
Build and Deploy / deploy (push) Successful in 1m1s
新增 warehouseOpenApi(Token/入库/件重尺/红外图),并在 fk_user 支持 IsEnabled 禁用登录。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 17:53:00 +08:00
ff9c589956
fix
Build and Deploy / deploy (push) Successful in 1m2s
2026-10-13 17:20:12 +08:00
09ca1c96d7
fix
Build and Deploy / deploy (push) Failing after 15s
2026-10-13 16:25:22 +08:00
d5d6305f9c
feat: 自动触发规则支持 Excel 导入与模板下载
...
Build and Deploy / deploy (push) Successful in 1m2s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:31:19 +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
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
c3d21dfdbb
fix: 裂变邀请人发券,并合并营销 SQL 到 admin1008
...
Build and Deploy / deploy (push) Successful in 1m5s
补齐被邀请人首单派送成功后给邀请人发放 REFERRAL_INVITER;将分散 migrate 脚本合并为可重复执行的 admin1008.sql。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-08 17:30:22 +08:00
984799fcde
fix: sync-status 忽略价表明细数字 JSON 形态差异
...
Build and Deploy / deploy (push) Successful in 1m0s
LIVE 侧 DeserializeJsonObject 常把客户组价收到 long,历史 Content 里常见 133.0/0.0000;JS 结构相等但 SHA256 不等导致误报待发布。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:52:04 +08:00
7d14c0e5d9
fix: sync-status 只比当前配置与生效 Content,前端不参与计算
...
Build and Deploy / deploy (push) Successful in 59s
当前侧与发布同源组装但不 Ensure;两侧同一套规范化并忽略 PackVersion/AreaName。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:38:58 +08:00
0449a4a3f5
fix: 发布同步态按 ContentHash 语义对比,且不再 Ensure 写包
...
Build and Deploy / deploy (push) Successful in 57s
sync-status 用 ResolvePackRef;哈希忽略 PackVersion/AreaName。修复卖价页发布后因价格行签名跳过刷新导致徽章卡在待发布。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:21:17 +08:00
73f334edc8
fix: 卖价同步态对比改用 canonical JSON,避免误报待发布
...
Build and Deploy / deploy (push) Successful in 59s
待发布与线上两侧统一规范化后再算哈希,消除排序与 FactorValuesJson 形态差异导致的假 diff。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 19:13:26 +08:00
35156eedf4
feat: 渠道买价/规则发布钉 KPI 分区包,排货应付按渠道价区解析
...
Build and Deploy / deploy (push) Successful in 1m1s
各渠道异构价区与偏远不再复用产品卖价 zoneKeys;发布只存包引用,计费 hydrate 后硬失败。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 17:19:39 +08:00
bb8c0a906c
feat: 卖价/规则发布钉 KPI 分区包,快照只存引用
...
Build and Deploy / deploy (push) Successful in 1m0s
分区明细独立版本化并缓存加载,计费包缺失严格失败;同步态接口不再拉全文。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 16:42:42 +08:00
6faadcf2a1
feat: 卖价支持多价格分区表,列表返回创建/修改人
...
Build and Deploy / deploy (push) Successful in 1m7s
合并多 Area 分区规则进发布快照,计费用规则自身 AreaId 匹配;产品与渠道列表补 CreateBy/UpdateBy。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 10:57:21 +08:00
f972a28d79
feat: 落地滚动会员、券发放与邀请分成奖励
...
Build and Deploy / deploy (push) Successful in 3m50s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 17:40:24 +08:00
8d7df40bdf
feat: 销售产品独立改代码,分区明细导入保存按规则去重
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 15:37:03 +08:00
04dc9ca1ff
feat: 分区明细导入模板去掉国家名称,并增加枚举值 Sheet
...
Build and Deploy / deploy (push) Successful in 1m0s
导入模板只保留国家代码;Sheet2 列出匹配维度/方式的编码与名称,导入时按代码补国家名称。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 10:58:23 +08:00
f063c99d1b
feat: OpenAPI 增加轨迹/文件查询,创单按 clientNo 幂等
...
客户 HMAC 通过后再查本客户订单;禁止下游面单,附件增加 POD。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 18:48:21 +08:00
b748aa4000
fix: 收紧分区 range、进位相接与仅国家估算口径
...
Build and Deploy / deploy (push) Successful in 1m0s
进位区间改为左开右闭且禁止空洞,邮编 range 按数字/字母数字比较,查价仅国家时不再串用别国 zone。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 17:35:18 +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
1b6e91b09d
feat: OpenAPI 鉴权改 HMAC 签名校验,并完善下单报文处理
...
Build and Deploy / deploy (push) Successful in 1m0s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 17:33:46 +08:00
87f4cebc9b
feat: openApi 统一信封与推费字段对齐,下单鉴权改请求头
...
Build and Deploy / deploy (push) Successful in 56s
推费入参对齐表字段;创建订单凭证走 appKey/appSecret Header,去掉上门揽收与 Body 内 customerId。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 12:17:50 +08:00
2688058cb3
feat: 客户 OpenAPI 机机凭证与 whoami 探针
...
Build and Deploy / deploy (push) Successful in 58s
一主客户一对 AppKey/AppSecret,支持门户自助与后台代管启停重置,供应商回调路径不动。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 10:19:38 +08:00
c9084ee5ca
fix: 合并 master 后改用 IObjectStorage,对齐 fake oss
...
Build and Deploy / deploy (push) Successful in 1m3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 11:37:27 +08:00
5648163958
merge master into test: 揽收下游预报与近期功能,保留 fake oss
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 11:30:17 +08:00
26f9d8be7f
feat: 揽收单预报下游改从 t_pickup_order 组装 createOrderOne
...
Build and Deploy / deploy (push) Successful in 1m43s
新增 /order/pickup-order/downstream-forward,productCode/supplierCode/地址重量商品均取揽收单,不再依赖关联物流单。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 19:17:09 +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
dd1318bc00
feat:对接fake oss
Build and Deploy / deploy (push) Successful in 59s
2026-09-22 16:59:33 +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
6b920cc49d
fix: 对齐 createOrderOne 下游预报请求体,productCode 取预报渠道 code
...
Build and Deploy / deploy (push) Successful in 1m46s
移除 channelCode 等多余字段,改用专用 ItfxCreateOrderOneBody。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 17:43:30 +08:00
14f3df3fa5
fix: 下游预报凭证快照整套同源,避免与订单字段混拼
...
Build and Deploy / deploy (push) Successful in 1m45s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 18:13:37 +08:00
0fdc9e29f4
feat: API中心其他配置与面单 COS 流代理
...
Build and Deploy / deploy (push) Successful in 1m52s
将 itfx 网关优先读其他配置 api_center(含 AppKey/AppSecret 回退),面单预览经服务端代理拉取 COS。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 17:40:52 +08:00
87abcecb65
feat: 对账件重尺导入与应收只留一套
...
Build and Deploy / deploy (push) Successful in 1m45s
新增 downstream 重量导入并锁定渠道重算应付;重算应收清空全部阶段;费用软删与查询过滤,避免预报入库叠算。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 16:57:28 +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
56c18c0343
feat:加强cos log
Build and Deploy / deploy (push) Successful in 1m41s
2026-09-10 18:00:18 +08:00
943ba539a4
feat: cos
Build and Deploy / deploy (push) Successful in 1m43s
2026-09-10 17:32:49 +08:00
eba1fa4867
feat: 注册绑定所属顾问与岗位职级字典种子
...
支持 AdvisorCode 写入 CustomerService=Account;补充 employee_position/employee_job_level 初始 SQL。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 12:45:13 +08:00
7e442180cd
fix: avoid SqlSugar invalid SQL from null/HasValue KB filters
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 16:53:09 +08:00
b2355104cf
feat: 完善揽收单与问题件处理能力
...
补齐揽收单字段/并发戳与问题件处理人配置,扩展异常工作流与下单同步揽收出参;移除已收货状态并补充相关 SQL 脚本。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 11:49:23 +08:00
c02cb21049
feat: add pickup-order model and door-pickup linking
...
Support 1 pickup to N logistics orders with create/pay/schedule APIs, parcel inboundMethod auto-attach, plus allocation-trace and inbound-billing updates already in tree.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 12:22:30 +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
206dc3ef3c
feat: ??????????????????????????
...
?????????????????????????????????? SQL?
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 15:16:55 +08:00
f2f4cbf35b
fix: 无邮箱注册改用占位邮箱,避免空串撞 uk_user_email
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 18:28:33 +08:00
0d578059ec
fix: treat null/undefined contact strings as empty
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 17:28:37 +08:00