无标题.sql
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:15k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- create database XLSH
- create table Menu
- (
- Men_ID int identity(1,1) primary key,
- Men_Name varchar(50),
- Men_Superior int,
- Men_Type int,
- Men_Default int,
- Men_Language varchar(20),
- Men_Url varchar(200),
- Men_ImageID int,
- Men_Index int,
- Men_Order int,
- Men_Key varchar(50),
- )
- select menu0_.Men_ID as Men_ID, menu0_.Men_Name as Men_Name, menu0_.Men_Superior as Men_Supe3_, menu0_.Men_Type as Men_Type, menu0_.Men_Default as Men_Defa5_, menu0_.Men_Language as Men_Lang6_, menu0_.Men_Url as Men_Url, menu0_.Men_Index as Men_Index, menu0_.Men_Order as Men_Order, menu0_.Men_Key as Men_Key, menu0_.Men_ImageID as Men_Ima11_ from Menu menu0_ where (menu0_.Men_Superior=0 )and(menu0_.Men_Language='CN' ) order by menu0_.Men_Order asc
- create table Information
- (
- Inf_ID int identity(1,1) primary key,
- Inf_Title varchar(100),
- Inf_Content ntext,
- Inf_Time datetime,
- Inf_Default int,
- Inf_Language varchar(20),
- Inf_Key varchar(50),
- Inf_CatID int,
- Inf_MenID int,
- Inf_ImageID int,
- Inf_Index int,
- Inf_Summary varchar(500),
- Inf_Click int,
- )
- create table Category
- (
- Cat_ID int identity(1,1) primary key,
- Cat_Name varchar(50),
- Cat_Language varchar(20),
- Cat_Key varchar(20),
- Cat_Order int,
- )
- create table Admin
- (
- Adm_ID int identity(1,1) primary key,
- Adm_Name varchar(20),
- Adm_Pwd varchar(20),
- Adm_RoleID int,
- Adm_Time datetime,
- )
- create table Image
- (
- Id int identity(1,1) primary key,
- FileName varchar(50),
- ReallyName varchar(50),
- Path varchar(200),
- ThumbnailPath varchar(200),
- ThumbnailName varchar(50),
- type varchar(10)
- )
- create table DownLoad
- (
- Dow_ID int identity(1,1) primary key,
- Dow_Title varchar(100),
- Dow_Time datetime,
- Dow_FileID int,
- Dow_Summary varchar(1000),
- Dow_Type int,
- Dow_ImageUp int,
- Dow_Order int,
- Dow_Language varchar(20),
- )
- create table Jobs
- (
- Job_ID int identity(1,1) primary key,
- Job_Title varchar(50),
- Job_Branch varchar(50),
- Job_Address varchar(100),
- Job_JobType varchar(100),
- Job_Count varchar(50),
- Job_IssuanceTime datetime,
- Job_EndTime varchar(50),
- Job_Desc varchar(1000),
- Job_Request varchar(500),
- Job_Language varchar(20),
- Job_Click int,
- Job_Contact varchar(1000),
- Job_Pay varchar(50)
- )
- create table Link
- (
- Lin_ID int identity(1,1) primary key,
- Lin_CName varchar(50),
- Lin_EName varchar(50),
- Lin_Url varchar(200),
- Lin_Type int,
- Lin_ImageID int,
- )
- create table Model
- (
- Mod_ID int identity(1,1) primary key,
- Mod_CnName varchar(50),
- Mod_Url varchar(200),
- Mod_Superior int,
- Mod_Order int,
- Mod_EnName varchar(50),
- Mod_Key varchar(50),
- Mod_EnUrl varchar(200),
- )
- insert into Model(Mod_CnName,Mod_Url,Mod_Superior,Mod_Order,Mod_EnName,Mod_Key,Mod_EnUrl) values('信息技术应用','/Manage/Information.do?todo=OpenInformationList&menuID=30','2','9','Technology & Application','XXJSYY','/Manage/Information.do?todo=OpenInformationList&menuID=84')
- insert into Model(Mod_CnName,Mod_Url,Mod_Superior,Mod_Order,Mod_EnName,Mod_Key,Mod_EnUrl) values('经贸合作','/Manage/Information.do?todo=OpenInformationList&menuID=31','2','10','Trade & Cooperation','JMHZ','/Manage/Information.do?todo=OpenInformationList&menuID=85')
- insert into Model(Mod_CnName,Mod_Url,Mod_Superior,Mod_Order,Mod_EnName,Mod_Key,Mod_EnUrl) values('安全环保','/Manage/Information.do?todo=OpenInformationList&menuID=32','2','11','Safe & Environmental','AQHB','/Manage/Information.do?todo=OpenInformationList&menuID=86')
- insert into Model(Mod_CnName,Mod_Url,Mod_Superior,Mod_Order,Mod_EnName,Mod_Key,Mod_EnUrl) values('业务流程','/Manage/Information.do?todo=OpenInformation&menID=28','2','12','Business Float','YWLC','/Manage/Information.do?todo=OpenInformation&menID=80')
- insert into Model(Mod_CnName,Mod_Url,Mod_Superior,Mod_Order,Mod_EnName,Mod_Key,Mod_EnUrl) values('研究与开发','/Manage/Information.do?todo=OpenInformation&menID=29','2','13','Technology & Develop','YCYKF','/Manage/Information.do?todo=OpenInformation&menID=83')
- create table Role
- (
- Rol_ID int identity(1,1) primary key,
- Rol_Name varchar(50),
- Rol_FModel varchar(500),
- Rol_CModel varchar(500),
- Rol_Time datetime,
- Rol_Menu varchar(500),
- )
- create table LeaveWord
- (
- Lea_ID int identity(1,1) primary key,
- Lea_Name varchar(50),
- Lea_Sex varchar(20),
- Lea_Address varchar(200),
- Lea_Email varchar(200),
- Lea_QQ varchar(50),
- Lea_Host varchar(50),
- Lea_Content varchar(1000),
- Lea_Time datetime,
- Lea_Language varchar(20),
- Lea_Revert varchar(1000),
- Lea_RevertTime datetime,
- Lea_IP varchar(50),
- )
- create table Product
- (
- Pro_ID int identity(1,1) primary key,
- Pro_Name varchar(50),
- Pro_EnName varchar(100),
- Pro_Molecular varchar(50),
- Pro_Modality varchar(50),
- Pro_Action varchar(500),
- Pro_ImageID int,
- Pro_Language varchar(20),
- Pro_Time datetime,
- )
- create table DefaultColumn
- (
- Def_ID int identity(1,1),
- Def_Name varchar(50),
- Def_Url varchar(400),
- Def_Language varchar(20),
- )
- create table Resume
- (
- Res_ID int identity(1,1) primary key,
- Res_Sex varchar(50),
- Res_Name varchar(50),
- Res_Brithday varchar(100),
- Res_Nativeplace varchar(200),
- Res_Polity varchar(200),
- Res_Marriage varchar(100),
- Res_Education varchar(200),
- Res_Specialty varchar(200),
- Res_Graduate varchar(200),
- Res_Experience varchar(400),
- Res_Tel varchar(100),
- Res_Address varchar(1000),
- Res_PostCode varchar(200),
- Res_Power varchar(2000),
- Res_Introduce varchar(2000),
- Res_Email varchar(200),
- Res_Time datetime,
- Res_JobID int,
- )
- CREATE TABLE [dbo].[ZSD_KNA1] (
- [C_ID] [int] IDENTITY (1, 1) NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [NAME1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [STREET] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
- [TELF1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [KNAME1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [STREET1] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
- [PSTLZ] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[ZSD_CREDIT] (
- [C_ID] [int] IDENTITY (1, 1) NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [OBLIG] [decimal](13, 2) NULL ,
- [WAERS] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[ZSD_YF] (
- [C_ID] [int] IDENTITY (1, 1) NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [ZYEAR] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [ZMONTH] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [FKIMG] [decimal](13, 3) NULL ,
- [KBETR] [decimal](11, 2) NULL ,
- [NETWR] [decimal](15, 2) NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[ZSD_ORDER] (
- [C_ID] [int] IDENTITY (1, 1) NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [KWMENG] [decimal](15, 3) NULL ,
- [VBELN] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [POSNR] [varchar] (6) COLLATE Chinese_PRC_CI_AS NULL ,
- [MENGE] [decimal](13, 3) NULL ,
- [ZZSL] [decimal](15, 3) NULL ,
- [QJSL] [decimal](13, 3) NULL ,
- [MATNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ARKTX] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [MEINS] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [ZYEAR] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [ERDAT1] [datetime] NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [ZMONTH] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[ZSD_LYL] (
- [C_ID] [int] IDENTITY (1, 1) NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [Kunnr1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [WMENG] [decimal](13, 3) NULL ,
- [FKIMG] [decimal](13, 3) NULL ,
- [LYL] [decimal](15, 2) NULL ,
- [ZYEAR] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [ZMONTH] [varchar] (5) COLLATE Chinese_PRC_CI_AS NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[tbl_admin_user] (
- [admin_id] [int] NOT NULL ,
- [admin_username] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [admin_password] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [admin_dept] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [admin_column] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [admin_adddate] [datetime] NULL ,
- [admin_type] [int] NULL
- ) ON [PRIMARY]
- CREATE TABLE [dbo].[V_ZSD_KNA1_USER] (
- [C_ID] [int] NOT NULL ,
- [KUNNR] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
- [NAME1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [STREET] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
- [TELF1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [KNAME1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [STREET1] [varchar] (100) COLLATE Chinese_PRC_CI_AS NULL ,
- [PSTLZ] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ERDAT] [datetime] NULL ,
- [ERZET] [datetime] NULL ,
- [REMARK1] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK3] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [REMARK4] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [ME_VER] [varchar] (10) COLLATE Chinese_PRC_CI_AS NULL ,
- [username] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [password] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
- [adddate] [datetime] NULL ,
- [admin_type] [int] NULL
- ) ON [PRIMARY]
- GO
- insert into tbl_admin_user(admin_id,admin_username,admin_password,admin_dept,admin_column,admin_adddate,admin_type)
- values('27','crm','123456','系统管理员','0,66,0,','0:30:36','66')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('董事长专栏','/Information.do?todo=OpenChirmanInfo','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Chairman Columns','/Information.do?todo=OpenChirmanInfo','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('企业荣誉','/Index.do?todo=ShowHonnors','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Company Honors','/Index.do?todo=ShowHonnors','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('公司报告','/Index.do?todo=ShowDownLoad&Type=1','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Company Reports','/Index.do?todo=ShowDownLoad&Type=1','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('运营数据','/Index.do?todo=ShowDownLoad&Type=0','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Operators Data','/Index.do?todo=ShowDownLoad&Type=0','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('信息咨询','/Index.do?todo=ShowLeaveWord','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Info Advisory','/Index.do?todo=ShowLeaveWord','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('联系我们','/Index.do?todo=ShowContact','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Contact us','/Index.do?todo=ShowContact','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('产品信息','/Index.do?todo=OpenProduct','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Product Show','/Index.do?todo=OpenProduct','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('英才招聘','/Index.do?todo=OpenJobs','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Hr Invites','/Index.do?todo=OpenJobs','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('友情链接','/Index.do?todo=ShowLink','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Friends Link','/Index.do?todo=ShowLink','EN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('网站地图','/Index.do?todo=ShowMap','CN')
- insert into DefaultColumn(Def_Name,Def_Url,Def_Language) values('Web Maps','/Index.do?todo=ShowMap','EN')
- --以下语句为必须执行!
- insert into Information(Inf_Title,Inf_Default,Inf_Key,Inf_Language) values('董事长专栏','2','DSZZLCN','CN')
- insert into Information(Inf_Title,Inf_Default,Inf_Key,Inf_Language) values('Chairman Columns','2','DSZZLCN','EN')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('企业信息','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Profile','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('企业文化','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Culture','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('新闻公告','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('News Notice','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('股东天地','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Partners','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('生产经营','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Product','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('人力资源','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Human Resource','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('网站地图','0','1')
- insert into Menu(Men_Name,Men_Superior,Men_Default) values('Columns List','0','1')
- select informatio0_.Inf_ID as Inf_ID, informatio0_.Inf_Title as Inf_Title, informatio0_.Inf_Content as Inf_Cont3_, informatio0_.Inf_Time as Inf_Time, informatio0_.Inf_Default as Inf_Defa5_, informatio0_.Inf_Language as Inf_Lang6_, informatio0_.Inf_Key as Inf_Key, informatio0_.Inf_Index as Inf_Index, informatio0_.Inf_Summary as Inf_Summ9_, informatio0_.Inf_Click as Inf_Click, informatio0_.Inf_CatID as Inf_CatID, informatio0_.Inf_MenID as Inf_MenID, informatio0_.Inf_ImageID as Inf_Ima13_ from Information informatio0_ where (informatio0_.Inf_Key='DSZZC' )and(informatio0_.Inf_Language='CN' )