insert into jcl_org_cardbutton (name, status, url, sys_default, creator, delete_type, create_time, update_time) values ('ÈËÔ±¼òÀú', 1, '/spa/organization/static/index.html#/main/organization/personnelResume/${id}', 0, 1, 0, now(), now());


create table jcl_org_search_template (
  id int auto_increment not null,
  name varchar(255) not null,
  basic_fields text null,
  personal_fields text null,
  work_fields text null,
  isused int null,
  creator int null,
  create_time date null,
  update_time date null,
  constraint jcl_org_search_template_PK primary key (id)
);

create table jcl_org_custom_template (
  id int auto_increment not null,
  name varchar(255) not null,
  basic_fields text null,
  personal_fields text null,
  work_fields text null,
  isused int null,
  creator int null,
  create_time date null,
  update_time date null,
  constraint jcl_org_search_template_PK primary key (id)
);

alter table jcl_org_cardaccess modify column type_name varchar(400);
UPDATE datashowset SET SQLTEXT ='select * from jcl_org_grade where delete_type = 0 and forbidden_tag = 0 ' WHERE SHOWNAME ='gradeBrowser';

update WORKFLOW_BROWSERURL set tablename ='JCL_ORG_JOB a inner join HrmJobTitles b on a.ec_jobTitle = b.id',columname ='jobtitlename',keycolumname ='a.id' where id = 666;