From 1ba7e0e0318bc42de5233a84f6e956429b7b9756 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 01:33:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4discount=E8=A1=A8?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除discount字段(折扣值在detail子表中) - customerid标题说明*表示全部客户 - init/data.json添加organization表的*记录(全部客户选项) --- init/data.json | 6 ++++++ models/discount.json | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/init/data.json b/init/data.json index a4f834e..f80a8b1 100644 --- a/init/data.json +++ b/init/data.json @@ -1,4 +1,10 @@ { + "organization": [ + { + "id": "*", + "orgname": "全部客户" + } + ], "appcodes": [ { "id": "promo_code_type", diff --git a/models/discount.json b/models/discount.json index ff31827..ecd6a2f 100644 --- a/models/discount.json +++ b/models/discount.json @@ -29,18 +29,11 @@ }, { "name": "customerid", - "title": "客户id", + "title": "客户id(*表示全部客户)", "type": "str", "length": 32, "default": "*" }, - { - "name": "discount", - "title": "折扣", - "type": "float", - "length": 5, - "dec": 4 - }, { "name": "enabled_date", "title": "启用日期",