mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-14 02:55:07 +08:00
【新增】回款管理 功能
This commit is contained in:
@ -46,4 +46,30 @@ CREATE TABLE IF NOT EXISTS "crm_clue" (
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
"tenant_id" bigint NOT NULL,
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '线索表';
|
||||
) COMMENT '线索表';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "crm_receivable" (
|
||||
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"no" varchar,
|
||||
"plan_id" bigint,
|
||||
"customer_id" bigint,
|
||||
"contract_id" bigint,
|
||||
"check_status" int,
|
||||
"process_instance_id" bigint,
|
||||
"return_time" varchar,
|
||||
"return_type" varchar,
|
||||
"price" varchar,
|
||||
"owner_user_id" bigint,
|
||||
"batch_id" bigint,
|
||||
"sort" int,
|
||||
"data_scope" int,
|
||||
"data_scope_dept_ids" varchar,
|
||||
"status" int NOT NULL,
|
||||
"remark" varchar,
|
||||
"creator" varchar DEFAULT '',
|
||||
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updater" varchar DEFAULT '',
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '回款管理';
|
||||
|
Reference in New Issue
Block a user