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/新协航_设计文档/数据库建表文档/20140124/管理费用_前置脚本.sql

51 lines
2.6 KiB
Transact-SQL

--select * from sys_module where description like '%管理费用%'
--select * from [action] where description like '%管理费用%'
begin
delete from sys_module where gid='C8F45815-D70D-49BB-B7A3-00F3C1F25DBC'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('C8F45815-D70D-49BB-B7A3-00F3C1F25DBC', 'modChfee_management', '管理费用',
'Account/Chfee_management', 'Module.gif',0,2, 'C7015B5E-B490-45E8-987B-0F0F22627155',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='6E54F871-625C-47C5-8ECD-789ADE02A4B8'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('6E54F871-625C-47C5-8ECD-789ADE02A4B8','modChfee_management','管理费用',
'C8F45815-D70D-49BB-B7A3-00F3C1F25DBC','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go
select newid()
begin
delete from sys_module where gid='554B96E3-B8D3-4D36-A650-2F85258E4F66'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('554B96E3-B8D3-4D36-A650-2F85258E4F66', 'mod_CWLock', '合同财务操作',
'Import/CWLock', 'Module.gif',0,2, 'C7015B5E-B490-45E8-987B-0F0F22627155',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='00551DA2-7248-46D2-975C-94C51836B8AD'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('00551DA2-7248-46D2-975C-94C51836B8AD','mod_CWLock','合同财务操作',
'554B96E3-B8D3-4D36-A650-2F85258E4F66','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go
select newid()
begin
delete from sys_module where gid='F11FE4A8-6533-4CD1-909E-2AFD9092D4DC'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('F11FE4A8-6533-4CD1-909E-2AFD9092D4DC', 'mod_CWAdvancePayment', '预收付明细列表',
'Import/CWAdvancePayment', 'Module.gif',0,2, 'C7015B5E-B490-45E8-987B-0F0F22627155',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='98979FBE-38C8-4F5C-9B7A-0570EA63BA55'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('98979FBE-38C8-4F5C-9B7A-0570EA63BA55','mod_CWAdvancePayment','预收付明细列表',
'F11FE4A8-6533-4CD1-909E-2AFD9092D4DC','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go