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/交运集团/20141224/海尔项目前置脚本.sql

35 lines
1.6 KiB
Transact-SQL

begin
delete from sys_module where gid='C4938FB3-709B-4E40-B4AE-DD85FDA5CC74'
insert sys_module(GID,NAME,DESCRIPTION,MODULEURL,MODULEICON,STATE,SORT,
PARENTID,CREATEUSER,CREATETIME,MODIFIEDUSER,MODIFIEDTIME,SHOWROOTSTATE,TYPE)
values( 'C4938FB3-709B-4E40-B4AE-DD85FDA5CC74' , 'modMsWl_Haier_main' , '海尔代管业务' ,
'#' , 'Module.gif' , 0 , 1 ,
'D0966450-58F4-4579-A669-F6BC58C96872' , '1BEC90E1-9780-472F-90C2-0C6390C044A4' ,
'2014-11-24 23:58:49.660' , NULL , NULL , 0 , 0 )
insert action(GID,NAME,DESCRIPTION,MODULEID,CREATEUSER,CREATETIME,MODIFIEDUSER,MODIFIEDTIME,STATE,
SORT) values( 'C4938FB3-709B-4E40-B4AE-DD85FDA5CC74' , 'modMsWl_Haier_main' ,
'海尔代管业务' , 'C4938FB3-709B-4E40-B4AE-DD85FDA5CC74' ,
'1BEC90E1-9780-472F-90C2-0C6390C044A4' , '2014-11-24 23:58:49.660' , NULL , '2014-11-24 23:58:49.660' , 0 , 0 )
end;
go
begin
delete from sys_module where gid='7F30B903-62A4-4A3D-B093-F6CC8ADDEC06'
INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL],
[MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE])
VALUES('7F30B903-62A4-4A3D-B093-F6CC8ADDEC06', 'modMsWl_Haier', '路单管理',
'TruckMng/MsWl_Haier', 'Module.gif',0,2, 'D1BB9DA9-6014-41F0-92D8-1AFACFAAEF8C',
'1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2)
---
delete from [action] where gid='7F30B903-62A4-4A3D-B093-F6CC8ADDEC06'
INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT])
VALUES('7F30B903-62A4-4A3D-B093-F6CC8ADDEC06','modMsWl_Haier','路单管理',
'7F30B903-62A4-4A3D-B093-F6CC8ADDEC06','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0)
end;
go