﻿set AUTOCOMMIT=0;
start transaction;

SET NAMES utf8mb4;

CREATE TABLE `t_base_person_log2`  (
  `Id` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `UpdateBy` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `UpdateRealName` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `UpdateAt` datetime(6) NULL DEFAULT NULL,
  `PersonId` int(0) NOT NULL,
  `LoginName` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `RealName` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `FromStatus` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  `ToStatus` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  PRIMARY KEY (`Id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SEX2',1,'男','男','男',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SEX2',1,'女','女','女',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'四级','四级','四级',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'五级','五级','五级',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'六级','六级','六级',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'七级','七级','七级',7);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'八级','八级','八级',8);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'九级','九级','九级',9);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'十级','十级','十级',10);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'十一级','十一级','十一级',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('POSTGRADE2',1,'十二级','十二级','十二级',12);
update t_sys_dic_item set DETAIL = '区聘教师',REMARK='区聘教师' where KIND='PERSON_STATUS' and DETAIL='区招代课教师';
update t_sys_dic_item set DETAIL = '校聘教师',REMARK='校聘教师' where KIND='PERSON_STATUS' and DETAIL='校招代课教师';
update t_sys_dic_item set DETAIL = '未评',REMARK='未评' where KIND='PROFESSIONAL_TITLE' and DETAIL='未定级';
update t_sys_dic_item set DETAIL = '工勤',REMARK='工勤' where KIND='PROFESSIONAL_TITLE' and DETAIL='其他';
update t_sys_dic_item set DETAIL = '专业岗位',REMARK='专业岗位' where KIND='POST_CATEGORY' and DETAIL='专业技术岗位';
update t_sys_dic_item set DETAIL = '工勤岗位',REMARK='工勤岗位' where KIND='POST_CATEGORY' and DETAIL='工勤技能岗位';
delete from t_sys_dic_item WHERE KIND='DEGREE';
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('DEGREE',1,'1','学士学位','学士学位',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('DEGREE',1,'2','硕士学位','硕士学位',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('DEGREE',1,'3','博士学位','博士学位',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'1','研究生博士教育','研究生博士教育',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'2','研究生硕士教育','研究生硕士教育',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'3','大学本科教育','大学本科教育',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'4','大学专科教育','大学专科教育',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'5','中等专业教育','中等专业教育',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'6','普通高级中学教育','普通高级中学教育',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'7','初级中学教育','初级中学教育',7);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'8','小学教育','小学教育',8);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('Education',1,'9','其他','其他',9);
update t_sys_dic_item set DETAIL = '总务主任',REMARK='总务主任' where KIND='ADMINISTRATIVE_POST' and DETAIL='总务处主任';
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ADMINISTRATIVE_POST',1,'34','党支部副书记','党支部副书记',34);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ADMINISTRATIVE_POST',1,'35','办公室副主任','办公室副主任',35);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ADMINISTRATIVE_POST',1,'36','总务主任','总务主任',36);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ADMINISTRATIVE_POST',1,'37','总务副主任','总务副主任',37);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachPeriod',1,'学前教育','学前教育','学前教育',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachPeriod',1,'小学','小学','小学',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachPeriod',1,'普通初中','普通初中','普通初中',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachPeriod',1,'无','无','无',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'语文','语文','语文',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'数学','数学','数学',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'英语','英语','英语',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'音乐','音乐','音乐',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'体育','体育','体育',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'美术','美术','美术',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'科学','科学','科学',7);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'书法','书法','书法',8);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'信息技术','信息技术','信息技术',9);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'政治','政治','政治',10);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'政治','政治','政治',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'历史','历史','历史',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'地理','地理','地理',13);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'物理','物理','物理',14);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'化学','化学','化学',15);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'生物','生物','生物',16);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'幼教全科','幼教全科','幼教全科',17);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'心理健康','心理健康','心理健康',18);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'综合实践课','综合实践课','综合实践课',19);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('ZYSY_MNSJ_XK2',1,'无','无','无',20);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'九年级','九年级','九年级',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'八年级','八年级','八年级',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'七年级','七年级','七年级',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'六年级','六年级','六年级',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'五年级','五年级','五年级',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'四年级','四年级','四年级',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'三年级','三年级','三年级',7);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'二年级','二年级','二年级',8);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'一年级','一年级','一年级',9);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'幼儿园大班','幼儿园大班','幼儿园大班',10);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'幼儿园中班','幼儿园中班','幼儿园中班',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'幼儿园小班','幼儿园小班','幼儿园小班',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeachGrade',1,'无','无','无',13);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('EducationGrade',1,'专技十一级','专技十一级','专技十一级',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('EducationGrade',1,'专技十二级','专技十二级','专技十二级',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SchoolType',1,'师范院校师范专业','师范院校师范专业','师范院校师范专业',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SchoolType',1,'师范院校非师范专业','师范院校非师范专业','师范院校非师范专业',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SchoolType',1,'非师范院校师范专业','非师范院校师范专业','非师范院校师范专业',13);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('SchoolType',1,'非师范院校非师范专业','非师范院校非师范专业','非师范院校非师范专业',14);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NoramlPost2',1,'一线教师','一线教师','一线教师',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NoramlPost2',1,'无','无','无',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NotOnPostReason',1,'长期病假','长期病假','长期病假',11);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NotOnPostReason',1,'产假','产假','产假',12);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NotOnPostReason',1,'挂职','挂职','挂职',13);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('NotOnPostReason',1,'支教','支教','支教',14);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'幼儿园教师资格','幼儿园教师资格','幼儿园教师资格',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'小学教师资格','小学教师资格','小学教师资格',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'初级中学教师资格','初级中学教师资格','初级中学教师资格',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'高级中学教师资格','高级中学教师资格','高级中学教师资格',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'中等职业学校教师资格','中等职业学校教师资格','中等职业学校教师资格',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'中等职业学校实习指导教师资格','中等职业学校实习指导教师资格','中等职业学校实习指导教师资格',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'高等学校教师资格','高等学校教师资格','高等学校教师资格',7);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('TeacherCardType',1,'无','无','无',8);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'一级甲等','一级甲等','一级甲等',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'一级乙等','一级乙等','一级乙等',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'二级甲等','二级甲等','二级甲等',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'二级乙等','二级乙等','二级乙等',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'三级甲等','三级甲等','三级甲等',5);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('LangLevel',1,'无','无','无',6);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('AddressArea',1,'城中区','城中区','城中区',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('AddressArea',1,'城北区','城北区','城北区',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('AddressArea',1,'城西区','城西区','城西区',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('AddressArea',1,'城东区','城东区','城东区',4);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('CheckStatus',1,'未提交','未提交','未提交',1);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('CheckStatus',1,'待审核','待审核','待审核',2);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('CheckStatus',1,'审核失败','审核失败','审核失败',3);
insert into t_sys_dic_item (KIND,B_USE,CODE,DETAIL,REMARK,SORT) values('CheckStatus',1,'审核成功','审核成功','审核成功',4);

alter table `t_base_person` add column  `RequestEditStatus` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `CheckStatus` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `TeachDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `CurrentJobStart` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `CurrentJobStartChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `JoinPartyDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `MaxTitleChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `MaxTitleStart` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `MaxTitleStartChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `IsJobAsMaxTitle` tinyint(1) NULL DEFAULT NULL;
alter table `t_base_person` add column  `JobAsMaxTitleDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `JobAsMaxTitleDateChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `JobAsNotMaxTitleReason` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `JobAsNotMaxTitleReasonChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `NotMaxTitle` int(11) NULL;
alter table `t_base_person` add column  `NotMaxTitleChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `NotMaxTitleStart` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `NotMaxTitleStartChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `JobAsNotMaxTitleDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `JobAsNotMaxTitleDateChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `PostGrade` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `PostGradeChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `CurrentPostGradeStart` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `CurrentPostGradeStartChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `EducationGrade` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `EducationGradeChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `EducationGradeDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `EducationGradeDateChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `FullTimeSchoolType` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `FullTimeSchool` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `FullTimeSchoolMajor` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `FullTimeSchoolEducation` int(11) NULL;
alter table `t_base_person` add column  `FullTimeSchoolEducationDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `JobTimeSchoolType` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `JobTimeSchool` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `JobTimeSchoolMajor` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `JobTimeSchoolEducation` int(11) NULL;
alter table `t_base_person` add column  `JobTimeSchoolEducationDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `IsClassTeacher` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `IsClassTeacherChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `MainTeachPeriodChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `MainTeachSubjectChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `MainTeachGrade` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `MainTeachGradeChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `OtherTeachPeriod` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `OtherTeachPeriodChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `OtherTeachSubject` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `OtherTeachSubjectChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `HasPosition` tinyint(1) NULL DEFAULT NULL;
alter table `t_base_person` add column  `IsMiddleLevel` tinyint(1) NULL DEFAULT NULL;
alter table `t_base_person` add column  `PositionChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `PositionStart` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `PositionStartChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `FrontTeacher` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `NotOnPostReason` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `NotOnPostReasonChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `NotOnPostReasonDate` datetime(6) NULL DEFAULT NULL;
alter table `t_base_person` add column  `NotOnPostReasonDateChecked` tinyint(1) NOT NULL;
alter table `t_base_person` add column  `TeacherCardType` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `TeacherCardSubject` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `TeacherCardLangLevel` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `CurrentAddressArea` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;
alter table `t_base_person` add column  `Comment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL;

update t_base_person set administrative_post='10' where  administrative_post='-1';
update t_base_person set academic_degree=NULL;
update t_base_person set STAGE_NAME='普通初中' where STAGE_NAME='初中';
update t_base_person set SUBJECT_NAME='无' where SUBJECT_NAME='通用';
update t_base_person set RequestEditStatus = '未申请';
update t_base_person set CheckStatus = '未提交';

commit;