佣金账户和用户积分修正
This commit is contained in:
@@ -5,6 +5,7 @@ create table market_commission_account
|
||||
id int8 not null primary key,
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_code varchar(64), -- 账户代码
|
||||
account_type int4, -- 账户类型 0-商品成本 1-购买人获取用户积分 2-直推人佣金 3-运营佣金 4-广告补贴 5-服务商佣金 6-极差代理佣金 7-联创佣金
|
||||
amount decimal(14, 2) default 0, -- 账户总余额
|
||||
version int4 default 1,
|
||||
remark varchar(200),
|
||||
@@ -24,6 +25,7 @@ comment on table market_commission_account is '用户佣金账户表';
|
||||
comment on column market_commission_account.id is '主键';
|
||||
comment on column market_commission_account.account_name is '账户名称';
|
||||
comment on column market_commission_account.account_code is '账户代码';
|
||||
comment on column market_commission_account.account_type is '账户类型 0-商品成本 1-购买人获取用户积分 2-直推人佣金 3-运营佣金 4-广告补贴 5-服务商佣金 6-极差代理佣金 7-联创佣金';
|
||||
comment on column market_commission_account.amount is '账户总余额';
|
||||
comment on column market_commission_account.version is '版本号';
|
||||
comment on column market_commission_account.remark is '备注';
|
||||
@@ -38,14 +40,14 @@ comment on column market_commission_account.is_deleted is '是否已删除';
|
||||
alter table market_commission_account
|
||||
owner to yicha1lu;
|
||||
---------------------------------------insert start
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485441885196290, '商品成本账户', 'COMMISSION_GOODS_COST', '0.0000', 1, '商品成本账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:29:47', 1123598821738675201, '2026-01-31 14:30:16.04', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485893100032002, '分发商城积分账户', 'COMMISSION_USER_POINT_LOG', '0.0000', 1, '分发商城积分账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:31:34.663', 1123598821738675201, '2026-01-31 14:31:34.663', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486037128237058, '分发直推人佣金账户', 'COMMISSION_DIRECT_PUSH', '0.0000', 1,'分发直推人佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:32:08.998', 1123598821738675201, '2026-01-31 14:32:08.998', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486179294171138, '运营账户', 'COMMISSION_OPERATION', '0.0000', 1, '运营账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:32:42.889', 1123598821738675201, '2026-01-31 14:32:42.889', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486299502923778, '分发广告补贴账户', 'COMMISSION_ADVERTISING', '0.0000', 1, '分发广告补贴账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:33:11.552', 1123598821738675201, '2026-01-31 14:33:11.552', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486437340336130, '分发服务商佣金账户', 'COMMISSION_SERVICE_PROVIDER', '0.0000', 1, '分发服务商佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:33:44.407', 1123598821738675201, '2026-01-31 14:33:44.407', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486568441696258, '分发极差代理佣金账户', 'COMMISSION_AGENCY', '0.0000', 1, '分发极差代理佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:34:15.663', 1123598821738675201, '2026-01-31 14:34:15.663', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486664117964802, '联创佣金账户', 'COMMISSION_CO_CREATOR', '0.0000', 1, '联创佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:34:38.479', 1123598821738675201, '2026-01-31 14:34:38.479', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485441885196290, '商品成本账户', 'COMMISSION_GOODS_COST', '0','0.0000', 1, '商品成本账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:29:47', 1123598821738675201, '2026-01-31 14:30:16.04', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485893100032002, '分发商城积分账户', 'COMMISSION_USER_POINT_LOG', '1', '0.0000', 1, '分发商城积分账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:31:34.663', 1123598821738675201, '2026-01-31 14:31:34.663', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486037128237058, '分发直推人佣金账户', 'COMMISSION_DIRECT_PUSH', '2', '0.0000', 1,'分发直推人佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:32:08.998', 1123598821738675201, '2026-01-31 14:32:08.998', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486179294171138, '运营账户', 'COMMISSION_OPERATION', '3','0.0000', 1, '运营账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:32:42.889', 1123598821738675201, '2026-01-31 14:32:42.889', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486299502923778, '分发广告补贴账户', 'COMMISSION_ADVERTISING', '4','0.0000', 1, '分发广告补贴账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:33:11.552', 1123598821738675201, '2026-01-31 14:33:11.552', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486437340336130, '分发服务商佣金账户', 'COMMISSION_SERVICE_PROVIDER','5', '0.0000', 1, '分发服务商佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:33:44.407', 1123598821738675201, '2026-01-31 14:33:44.407', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486568441696258, '分发极差代理佣金账户', 'COMMISSION_AGENCY', '6','0.0000', 1, '分发极差代理佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:34:15.663', 1123598821738675201, '2026-01-31 14:34:15.663', 1, 0);
|
||||
INSERT INTO market_commission_account ("id", "account_name", "account_code", "account_type" , "amount", "version", "remark" , "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486664117964802, '联创佣金账户', 'COMMISSION_CO_CREATOR', '7','0.0000', 1, '联创佣金账户',1123598821738675201, 1123598813738675201, '2026-01-31 14:34:38.479', 1123598821738675201, '2026-01-31 14:34:38.479', 1, 0);
|
||||
|
||||
---------------------------------------insert end
|
||||
|
||||
@@ -58,10 +60,9 @@ create table market_commission_goods_cost_log
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -86,10 +87,9 @@ comment on column market_commission_goods_cost_log.account_id is '账户id';
|
||||
comment on column market_commission_goods_cost_log.user_id is '用户id';
|
||||
comment on column market_commission_goods_cost_log.amount is '金额';
|
||||
comment on column market_commission_goods_cost_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_goods_cost_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_goods_cost_log.source_type is '来源模块 0-商城订单';
|
||||
comment on column market_commission_goods_cost_log.source_id is '来源id';
|
||||
comment on column market_commission_goods_cost_log.source_detail is '来源详情';
|
||||
comment on column market_commission_goods_cost_log.order_id is '订单id';
|
||||
comment on column market_commission_goods_cost_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_goods_cost_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_goods_cost_log.statistical_date is '统计时间';
|
||||
@@ -114,10 +114,9 @@ create table market_commission_user_point_log
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放积分
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
is_salary_paid int4 default 0, -- 金额是否发放到用户 0-否 1-是
|
||||
@@ -143,10 +142,9 @@ comment on column market_commission_user_point_log.account_id is '账户id';
|
||||
comment on column market_commission_user_point_log.user_id is '用户id';
|
||||
comment on column market_commission_user_point_log.amount is '变动金额';
|
||||
comment on column market_commission_user_point_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_user_point_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_user_point_log.source_type is '来源类型 0-商城订单 1-发放积分';
|
||||
comment on column market_commission_user_point_log.source_id is '来源id';
|
||||
comment on column market_commission_user_point_log.source_detail is '来源详情';
|
||||
comment on column market_commission_user_point_log.order_id is '订单id';
|
||||
comment on column market_commission_user_point_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_user_point_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_user_point_log.is_salary_paid is '金额是否发放到用户 0-否 1-是';
|
||||
@@ -172,10 +170,9 @@ create table market_commission_direct_push_log
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放直推佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
is_salary_paid int4 default 0, -- 金额是否发放到用户 0-否 1-是
|
||||
@@ -201,10 +198,9 @@ comment on column market_commission_direct_push_log.account_id is '账户id';
|
||||
comment on column market_commission_direct_push_log.user_id is '用户id';
|
||||
comment on column market_commission_direct_push_log.amount is '变动金额';
|
||||
comment on column market_commission_direct_push_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_direct_push_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_direct_push_log.source_type is '来源类型 0-商城订单 1-发放直推佣金';
|
||||
comment on column market_commission_direct_push_log.source_id is '来源id';
|
||||
comment on column market_commission_direct_push_log.source_detail is '来源详情';
|
||||
comment on column market_commission_direct_push_log.order_id is '订单id';
|
||||
comment on column market_commission_direct_push_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_direct_push_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_direct_push_log.is_salary_paid is '金额是否发放到用户 0-否 1-是';
|
||||
@@ -231,10 +227,9 @@ create table market_commission_operation_log
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
cut_amount decimal(14, 2) default 0, -- 随机立减金额
|
||||
cut_detail text, -- 随机立减说明
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放运营佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -258,10 +253,9 @@ comment on column market_commission_operation_log.amount is '变动金额';
|
||||
comment on column market_commission_operation_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_operation_log.cut_amount is '随机立减金额';
|
||||
comment on column market_commission_operation_log.cut_detail is '随机立减说明';
|
||||
comment on column market_commission_operation_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_operation_log.source_type is '来源类型 0-商城订单 1-发放运营佣金';
|
||||
comment on column market_commission_operation_log.source_id is '来源id';
|
||||
comment on column market_commission_operation_log.source_detail is '来源详情';
|
||||
comment on column market_commission_operation_log.order_id is '订单id';
|
||||
comment on column market_commission_operation_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_operation_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_operation_log.statistical_date is '统计时间';
|
||||
@@ -285,10 +279,9 @@ create table market_commission_advertising_log
|
||||
account_id int8, -- 佣金账户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放广告佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -310,10 +303,9 @@ comment on column market_commission_advertising_log.id is '主键';
|
||||
comment on column market_commission_advertising_log.account_id is '账户id';
|
||||
comment on column market_commission_advertising_log.amount is '变动金额';
|
||||
comment on column market_commission_advertising_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_advertising_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_advertising_log.source_type is '来源类型 0-商城订单 1-发放广告佣金';
|
||||
comment on column market_commission_advertising_log.source_id is '来源id';
|
||||
comment on column market_commission_advertising_log.source_detail is '来源详情';
|
||||
comment on column market_commission_advertising_log.order_id is '订单id';
|
||||
comment on column market_commission_advertising_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_advertising_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_advertising_log.statistical_date is '统计时间';
|
||||
@@ -338,10 +330,9 @@ create table market_commission_service_provider_log
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放服务商佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
is_salary_paid int4 default 0, -- 金额是否发放到用户 0-否 1-是
|
||||
@@ -371,10 +362,9 @@ comment on column market_commission_service_provider_log.account_id is '账户id
|
||||
comment on column market_commission_service_provider_log.user_id is '用户id';
|
||||
comment on column market_commission_service_provider_log.amount is '变动金额';
|
||||
comment on column market_commission_service_provider_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_service_provider_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_service_provider_log.source_type is '来源类型 0-商城订单 1-发放服务商佣金';
|
||||
comment on column market_commission_service_provider_log.source_id is '来源id';
|
||||
comment on column market_commission_service_provider_log.source_detail is '来源详情';
|
||||
comment on column market_commission_service_provider_log.order_id is '订单id';
|
||||
comment on column market_commission_service_provider_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_service_provider_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_service_provider_log.is_salary_paid is '金额是否发放到用户 0-否 1-是';
|
||||
@@ -399,26 +389,25 @@ alter table market_commission_service_provider_log
|
||||
DROP TABLE IF EXISTS market_commission_agency_log;
|
||||
create table market_commission_agency_log
|
||||
(
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 佣金账户id
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
remark text, -- 备注
|
||||
create_user int8,
|
||||
create_dept int8,
|
||||
create_time timestamp(6),
|
||||
update_user int8,
|
||||
update_time timestamp(6),
|
||||
status int4 default 1,
|
||||
is_deleted int4 default 0
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 佣金账户id
|
||||
user_id int8, -- 用户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放极差代理佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
remark text, -- 备注
|
||||
create_user int8,
|
||||
create_dept int8,
|
||||
create_time timestamp(6),
|
||||
update_user int8,
|
||||
update_time timestamp(6),
|
||||
status int4 default 1,
|
||||
is_deleted int4 default 0
|
||||
);
|
||||
|
||||
create index idx_mc_agency_uid
|
||||
@@ -433,10 +422,9 @@ comment on column market_commission_agency_log.account_id is '账户id';
|
||||
comment on column market_commission_agency_log.user_id is '用户id';
|
||||
comment on column market_commission_agency_log.amount is '变动金额';
|
||||
comment on column market_commission_agency_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_agency_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_agency_log.source_type is '来源类型 0-商城订单 1-发放极差代理佣金';
|
||||
comment on column market_commission_agency_log.source_id is '来源id';
|
||||
comment on column market_commission_agency_log.source_detail is '来源详情';
|
||||
comment on column market_commission_agency_log.order_id is '订单id';
|
||||
comment on column market_commission_agency_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_agency_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_agency_log.statistical_date is '统计时间';
|
||||
@@ -460,10 +448,9 @@ create table market_commission_co_creator_log
|
||||
account_id int8, -- 佣金账户id
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
last_amount decimal(14, 2) default 0, -- 上一笔金额
|
||||
source_module int4, -- 来源模块 0-商城订单
|
||||
source_type int4, -- 来源类型 0-商城订单 1-发放联创佣金
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id int8, -- 订单id
|
||||
type int4 default 1, -- 类型 1-收入 2-支出
|
||||
is_complete int4 default 0, -- 0-未完成 1-已完成
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -485,10 +472,9 @@ comment on column market_commission_co_creator_log.id is '主键';
|
||||
comment on column market_commission_co_creator_log.account_id is '账户id';
|
||||
comment on column market_commission_co_creator_log.amount is '变动金额';
|
||||
comment on column market_commission_co_creator_log.last_amount is '上笔金额';
|
||||
comment on column market_commission_co_creator_log.source_module is '来源模块 0-商城订单';
|
||||
comment on column market_commission_co_creator_log.source_type is '来源类型 0-商城订单 1-发放联创佣金';
|
||||
comment on column market_commission_co_creator_log.source_id is '来源id';
|
||||
comment on column market_commission_co_creator_log.source_detail is '来源详情';
|
||||
comment on column market_commission_co_creator_log.order_id is '订单id';
|
||||
comment on column market_commission_co_creator_log.type is '类型 1-收入 2-支出';
|
||||
comment on column market_commission_co_creator_log.is_complete is '0-未完成 1-已完成';
|
||||
comment on column market_commission_co_creator_log.statistical_date is '统计时间';
|
||||
|
||||
Reference in New Issue
Block a user