初始结构与数据修改
This commit is contained in:
parent
7b1f00f76b
commit
6c4a772050
@ -2,7 +2,6 @@ package com.cdzy.staff.model.entity;
|
|||||||
|
|
||||||
import com.mybatisflex.annotation.Column;
|
import com.mybatisflex.annotation.Column;
|
||||||
import com.mybatisflex.annotation.Id;
|
import com.mybatisflex.annotation.Id;
|
||||||
import com.mybatisflex.annotation.KeyType;
|
|
||||||
import com.mybatisflex.annotation.Table;
|
import com.mybatisflex.annotation.Table;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Builder;
|
import lombok.Builder;
|
||||||
@ -38,8 +37,6 @@ public class EbikeOperatorStaff implements Serializable {
|
|||||||
|
|
||||||
private String salt;
|
private String salt;
|
||||||
|
|
||||||
private Long roleId;
|
|
||||||
|
|
||||||
private Long operatorId;
|
private Long operatorId;
|
||||||
|
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
INSERT INTO "public"."ebike_operator" VALUES (311460622768435200, '卓景出行', '四川省成都市西部智谷B区', '15008231529', NULL, '2025-08-09 00:14:44.550027', NULL, NULL, 'f');
|
INSERT INTO "public"."ebike_operator" VALUES (311460622768435200, '卓景出行', '四川省成都市西部智谷B区', '15008231529', NULL, '2025-08-09 00:14:44.550027', NULL, NULL, 'f');
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO "public"."ebike_operator_staff" VALUES (320131029184712704, 'admin', 'b98b43d0eef6480daf4bdb7793aa8b7d557c85bdac52e4f814c5e9ba424baa6f:mT5Y0iBQJg9YtHUW38whlw==', 312523146360233984, 311460622768435200, 1, NULL, NULL, '2025-08-11 22:38:56.561597', NULL, NULL, 'f', 'mT5Y0iBQJg9YtHUW38whlw==');
|
INSERT INTO "public"."ebike_operator_staff" VALUES (320131029184712704, 'admin', 'b98b43d0eef6480daf4bdb7793aa8b7d557c85bdac52e4f814c5e9ba424baa6f:mT5Y0iBQJg9YtHUW38whlw==', 311460622768435200, 1, NULL, NULL, '2025-08-11 22:38:56.561597', NULL, NULL, 'f', 'mT5Y0iBQJg9YtHUW38whlw==');
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO "public"."ebike_role" VALUES (312523146360233984, '超级管理员', 311460622768435200, '系统默认角色', NULL, '2025-08-11 22:36:51.219978', NULL, NULL, 'f', 't', 'f');
|
INSERT INTO "public"."ebike_role" VALUES (312523146360233984, '超级管理员', 311460622768435200, '系统默认角色', NULL, '2025-08-11 22:36:51.219978', NULL, NULL, 'f', 't', 'f');
|
||||||
|
|||||||
@ -92,7 +92,6 @@ CREATE TABLE "public"."ebike_operator_staff" (
|
|||||||
"staff_id" int8 NOT NULL DEFAULT nextval('ebike_operator_staff_staff_id_seq'::regclass),
|
"staff_id" int8 NOT NULL DEFAULT nextval('ebike_operator_staff_staff_id_seq'::regclass),
|
||||||
"username" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
|
"username" varchar(50) COLLATE "pg_catalog"."default" NOT NULL,
|
||||||
"password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
|
"password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
|
||||||
"role_id" int8 NOT NULL,
|
|
||||||
"operator_id" int8 NOT NULL,
|
"operator_id" int8 NOT NULL,
|
||||||
"status" int2 DEFAULT 1,
|
"status" int2 DEFAULT 1,
|
||||||
"last_login" timestamp(6),
|
"last_login" timestamp(6),
|
||||||
@ -106,7 +105,6 @@ CREATE TABLE "public"."ebike_operator_staff" (
|
|||||||
;
|
;
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."username" IS '用户名';
|
COMMENT ON COLUMN "public"."ebike_operator_staff"."username" IS '用户名';
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."password" IS '密码(加密后';
|
COMMENT ON COLUMN "public"."ebike_operator_staff"."password" IS '密码(加密后';
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."role_id" IS '角色id';
|
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."operator_id" IS '运营商id';
|
COMMENT ON COLUMN "public"."ebike_operator_staff"."operator_id" IS '运营商id';
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."status" IS '状态';
|
COMMENT ON COLUMN "public"."ebike_operator_staff"."status" IS '状态';
|
||||||
COMMENT ON COLUMN "public"."ebike_operator_staff"."last_login" IS '上次登陆时间';
|
COMMENT ON COLUMN "public"."ebike_operator_staff"."last_login" IS '上次登陆时间';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user