-- ----------------------------- 2024-07-15 add by zhangs--------------begin
CALL INSERTI18N('T_LIMS_TASK.CANCELTESTUSERNAME', '终止测试人', '终止测试人', 'zh-CN', '终止测试人');
INSERT INTO t_core_menu (ID,MENUNAME,HREF,PARENTID,ORDERNO,MENUINITNAME,LASTUPDATEDBYID,LASTUPDATEDBYNAME,LASTUPDATEDTIME,ICON,TODOICON,I18NCODE) VALUES
('20240715001','试验任务查询','/secure/basemodule/business/test/folders/page/edit-list?pageType=taskSearch','1001',20,'试验任务查询',NULL,NULL,NULL,'016.svg',NULL,NULL);
-- ----------------------------- 2024-07-15 add by zhangs--------------end


-- ----------------------------- 2024-07-17 add by zhangs--------------begin
ALTER TABLE t_lims_folder ADD STATIONWORKCELLNAME varchar(100) NULL COMMENT '工位';
ALTER TABLE t_lims_folder ADD REINSPECT varchar(30) NULL COMMENT '是否复检';

CALL INSERTI18N('T_LIMS_FOLDER.STATIONWORKCELLNAME', '工位', '工位', 'zh-CN', '工位');
CALL INSERTI18N('T_LIMS_FOLDER.REINSPECT', '是否复检', '是否复检', 'zh-CN', '是否复检');

ALTER TABLE t_lims_task ADD MOMREMARK varchar(300) NULL COMMENT 'MOM备注';
CALL INSERTI18N('T_LIMS_TASK.MOMREMARK', 'MOM备注', 'MOM备注', 'zh-CN', 'MOM备注');
-- ----------------------------- 2024-07-17 add by zhangs--------------end

-- ----------------------------- 2024-07-19 add by zhangs--------------begin
CREATE INDEX t_lims_result_FOLDERID_IDX USING BTREE ON t_lims_result (FOLDERID);
-- ----------------------------- 2024-07-19 add by zhangs--------------end
-- ----------------------------- 2024-07-19 add by gaozq--------------begin
alter table T_LIMS_ENV_MONITOR_RECORDS add column STATUS VARCHAR(36) null comment '状态';

CALL INSERTI18N('T_LIMS_ENV_MONITOR_RECORDS.STATUS','状态','状态','zh-CN','状态');

update T_LIMS_ENV_MONITOR_RECORDS set STATUS='draft'
where STATUS is null
-- ----------------------------- 2024-07-19 add by gaozq--------------end

-- ----------------------------- 2024-07-24 add by zhangs--------------begin
ALTER TABLE t_lims_task ADD OUTLINECODE varchar(100) NULL COMMENT '大纲编号';
ALTER TABLE t_lims_task ADD OUTLINENAME varchar(100) NULL COMMENT '大纲名称';
ALTER TABLE t_lims_test_outline ADD ACTIVATEDFLAG varchar(1) NULL COMMENT '是否启用';
update t_lims_test_outline set activatedFlag=1;
-- ----------------------------- 2024-07-24 add by zhangs--------------end



