From e2769bae16e8ba6c1868107eb28c331abfdf5827 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Wed, 28 Dec 2022 11:34:03 +0800 Subject: [PATCH] =?UTF-8?q?(=E8=84=9A=E6=9C=AC)1.=20=E5=B2=97=E4=BD=8D?= =?UTF-8?q?=E8=AF=84=E7=BA=A7=E8=A1=A8=EF=BC=9B2.=E5=91=98=E5=B7=A5?= =?UTF-8?q?=E4=BF=A1=E6=81=AFmember=E5=A2=9E=E5=8A=A0technical=5Fgrade?= =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=81=8C=E7=BA=A7=E7=AD=89=E7=BA=A7=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...update_member-technical_grade - 副本.sql | 2 ++ .../PEP V3.3.0/02 create_position_rating.sql | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 doc/scripts/PEP V3.3.0/01 update_member-technical_grade - 副本.sql create mode 100644 doc/scripts/PEP V3.3.0/02 create_position_rating.sql diff --git a/doc/scripts/PEP V3.3.0/01 update_member-technical_grade - 副本.sql b/doc/scripts/PEP V3.3.0/01 update_member-technical_grade - 副本.sql new file mode 100644 index 0000000..e950fcb --- /dev/null +++ b/doc/scripts/PEP V3.3.0/01 update_member-technical_grade - 副本.sql @@ -0,0 +1,2 @@ +alter table member add technical_grade varchar(255); +comment on column member.technical_grade is '技术职级等级'; \ No newline at end of file diff --git a/doc/scripts/PEP V3.3.0/02 create_position_rating.sql b/doc/scripts/PEP V3.3.0/02 create_position_rating.sql new file mode 100644 index 0000000..599e685 --- /dev/null +++ b/doc/scripts/PEP V3.3.0/02 create_position_rating.sql @@ -0,0 +1,23 @@ +create table position_rating +( + id serial not null, + pep_user_id int not null + constraint position_rating_member_pep_user_id_fk + references member (pep_user_id), + rating_time timestamp not null, + theory_basic_score numeric not null, + theory_passed boolean default false not null, + total_score numeric not null, + total_rating_passed bool default false not null, + technical_grade varchar(255) not null +); +comment on table position_rating is '岗位评级'; +comment on column position_rating.rating_time is '评级时间'; +comment on column position_rating.theory_basic_score is '理论基础测评成绩'; +comment on column position_rating.theory_passed is '理论基础测评是否通过(≥60'; +comment on column position_rating.total_score is '评级总成绩'; +comment on column position_rating.total_rating_passed is '评级总成绩是否通过(K≥60)'; +comment on column position_rating.technical_grade is '技术职级等级'; + +create unique index position_rating_id_uindex on position_rating (id); +alter table position_rating add constraint position_rating_pk primary key (id);