DS7/DSWeb/word/新协航_设计文档/数据库建表文档/20140124/管理费用_前置脚本.sql

51 lines
2.6 KiB
MySQL

--select * from sys_module where description like '%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%'
--select * from [action] where description like '%<25><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%'
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', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'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','<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'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', '<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'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','<EFBFBD><EFBFBD>ͬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'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', 'Ԥ<EFBFBD>ո<EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD>б<EFBFBD>',
'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','Ԥ<EFBFBD>ո<EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD>б<EFBFBD>',
'F11FE4A8-6533-4CD1-909E-2AFD9092D4DC','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go