table.sql.bak 1.2 KB

12345678910111213141516171819202122232425
  1. -- **************************************************
  2. -- Name: x_workday
  3. -- Purpose: 工作日节假日表
  4. -- Deviser: 韩林平
  5. -- Devistime: 2018-04-27
  6. -- **************************************************
  7. drop table x_workday;
  8. create table x_workday
  9. (
  10. TDate VARCHAR(10) not null, -- 自然日
  11. TYear VARCHAR(4) not null, -- 所属年
  12. TType VARCHAR(80) , -- 日期类型 工作日,节假日
  13. TInfo VARCHAR(80) , -- 节假日描述 春节,调休
  14. constraint PK_x_workday primary key (TDate)
  15. );
  16. create index IX_x_workday_TYear on x_workday(TYear);
  17. create index IX_x_workday_TType on x_workday(TType);
  18. INSERT INTO t_menu (KeyID,Menuname,Parentid,Treepath,Treelevel,Menuurl,Menudesc,Isleaf,IsShow,MenuID,SType,SortID)
  19. VALUES ('0606','初始化节假日','06','/0/06/0606/','0','/myconsole/complaint/workday/initData','','true','true','complaint.workday.initData','menu','6.00');
  20. INSERT INTO t_menu (KeyID,Menuname,Parentid,Treepath,Treelevel,Menuurl,Menudesc,Isleaf,IsShow,MenuID,SType,SortID)
  21. VALUES ('0607','管理节假日','06','/0/06/0607/','0','/myconsole/complaint/workday/workDay','','true','true','complaint.workday.workDay','menu','7.00');