feat: 调整discount表结构

- 删除discount字段(折扣值在detail子表中)
- customerid标题说明*表示全部客户
- init/data.json添加organization表的*记录(全部客户选项)
This commit is contained in:
Hermes Agent 2026-06-24 01:33:46 +08:00
parent c9372ae2c6
commit 1ba7e0e031
2 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,10 @@
{
"organization": [
{
"id": "*",
"orgname": "全部客户"
}
],
"appcodes": [
{
"id": "promo_code_type",

View File

@ -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": "启用日期",