Files
ruoyi-java/sql/jd_order_rebate_remark.sql
2026-03-24 01:09:01 +08:00

7 lines
487 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 后返备注:多次导入跟团返现等 Excel 的记录JSON 数组),及是否存在异常(便于列表筛选)
-- 执行前请确认 jd_order 表存在
ALTER TABLE jd_order
ADD COLUMN rebate_remark_json LONGTEXT NULL COMMENT '后返备注(JSON数组每条含文档标题、是否返现、金额等)' AFTER review_posted_date,
ADD COLUMN rebate_remark_has_abnormal TINYINT(1) NULL DEFAULT NULL COMMENT '后返备注中是否存在异常项1是 0否 NULL无记录';