You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/word/天津中物储_设计文档/前置脚本.sql

61 lines
2.1 KiB
MySQL

2 years ago
begin
delete from sys_module where gid='AF472CBA-81C5-40EB-9231-1AD700FB2DB3'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('AF472CBA-81C5-40EB-9231-1AD700FB2DB3', 'modOA', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'#', 'Module.gif',0,0, '0',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,0)
---
delete from [action] where gid='9C77A86B-D1F7-4FCF-8163-96A351C664DB'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('9C77A86B-D1F7-4FCF-8163-96A351C664DB','modOA','<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><EFBFBD>',
'AF472CBA-81C5-40EB-9231-1AD700FB2DB3','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go
begin
delete from sys_module where gid='1696928C-A852-4D50-AE4C-CE99C96A9FEE'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('1696928C-A852-4D50-AE4C-CE99C96A9FEE', 'mod_Baoxiao', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'OA/Baoxiao', 'Module.gif',0,2, 'AF472CBA-81C5-40EB-9231-1AD700FB2DB3',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='679EEC76-5F1D-4698-ACED-490839922026'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('679EEC76-5F1D-4698-ACED-490839922026','mod_Baoxiao','<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'1696928C-A852-4D50-AE4C-CE99C96A9FEE','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go
insert tSysbilltype
(BillCode,BillName,BillGrp,IsRule,NoLength,IsPrefix,PrefixLen,PrefixNo,[IsDate],DateFmt,SerialLen,
YearNo,MonthNo,DayNo,MaxSerial,BillHeadTbl,IsOrgPrefix)
values( '0401' , '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , '1' ,
6 , '1' , 2 , 'BX' , '1' ,
'YYYYMMDD' , 4 , '2013' , '01' ,
'01' , 57 , 'OA_Baoxiao' , '0' )
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[tSys_OA_Baoxiao](
[SerialNo] [numeric](27, 0) IDENTITY(1,1) NOT NULL,
[Data_Null] [varchar](1) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
select * from tSysbilltype