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

44 lines
2.4 KiB
Transact-SQL

begin
delete from sys_module where gid='1F6C4306-9F69-4B7B-A334-A43E3CF1D236'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('1F6C4306-9F69-4B7B-A334-A43E3CF1D236', 'RptProfit', '利润报表',
'Import/RptProfit', 'Module.gif',0,2, 'C7015B5E-B490-45E8-987B-0F0F22627155',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='D234DBC5-39F0-442D-9B9E-C28DBB8F35D0'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('D234DBC5-39F0-442D-9B9E-C28DBB8F35D0','modChfee_management','利润报表',
'1F6C4306-9F69-4B7B-A334-A43E3CF1D236','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go
--select * from [sys_module] where description='进口贸易'
--D1BB9DA9-6014-41F0-92D8-1AFACFAAEF8C
delete from [sys_module] where gid='1B7E3690-F9C7-47E7-B94D-752ACC8342BC'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('1B7E3690-F9C7-47E7-B94D-752ACC8342BC', 'modChDui', '客户对账',
'MvcShipping/MsChDui', 'Module.gif',0,3, 'D1BB9DA9-6014-41F0-92D8-1AFACFAAEF8C',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='1B7E3690-F9C7-47E7-B94D-752ACC8342BC'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('1B7E3690-F9C7-47E7-B94D-752ACC8342BD','modChDui','客户对账',
'1B7E3690-F9C7-47E7-B94D-752ACC8342BC','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
---
delete from [sys_module] where gid='AC22366B-D778-4375-A5C3-60F8BBE4FD34'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('AC22366B-D778-4375-A5C3-60F8BBE4FD34', 'modCodeDui', '对账模板',
'MvcShipping/MsCodeDuiTemplate', 'Module.gif',0,3, '2fb6734-7bf6-4a90-8258-510e8b3e2a22',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='AC22366B-D778-4375-A5C3-60F8BBE4FD34'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('AC22366B-D778-4375-A5C3-60F8BBE4FD35','modCodeDui','对账模板',
'AC22366B-D778-4375-A5C3-60F8BBE4FD34','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)