车辆管理

This commit is contained in:
XaoLi717 2024-10-28 11:33:06 +08:00
parent 6be7aa6909
commit 7fe605adb1
2 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
DELETE FROM "des_datainfo";
DELETE FROM "des_homePJ";
DELETE FROM "des_homeimg";
DELETE FROM "oa_clgl";

View File

@ -62,3 +62,26 @@ CREATE TABLE IF NOT EXISTS "des_homeimg" (
"tenant_id" bigint NOT NULL,
PRIMARY KEY ("img_id")
) COMMENT '公告管理';
CREATE TABLE IF NOT EXISTS "oa_clgl" (
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"car_user" int NOT NULL,
"dept" int NOT NULL,
"car_type" int NOT NULL,
"car_driver" int NOT NULL,
"car_start" varchar NOT NULL,
"car_end" varchar NOT NULL,
"car_address" varchar NOT NULL,
"car_info" varchar,
"car_start_mileage" varchar,
"car_end_mileage" varchar,
"car_status" int NOT NULL,
"car_reason" varchar NOT NULL,
"car_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,
"tenant_id" bigint NOT NULL,
PRIMARY KEY ("id")
) COMMENT '车辆管理表';