﻿
CREATE TABLE [dbo].[Template_Files](
	[id] [nvarchar](50) NOT NULL,
	[title] [nvarchar](255) NULL,
	[filePath] [nvarchar](255) NULL,
	[SortIndex] INT
PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'012F03CB-85D7-4F57-8A4D-38AC209886BF', N'27-TP-11-尾项清单UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'0400055B-388A-40B0-BB7E-283B94864893', N'23-TP-09-超声&PAUT&TOFD检测比例确认表', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'0DAD1096-EA35-446E-B628-2F20C449C641', N'18-金属材料化学成分检验报告SHT 3503-J129', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'0F1A38BB-C98E-4C21-B9EC-8B03CCB22BF2', N'13-弹簧支吊架安装检验记录SHT 3503-J403', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'114E0846-93CB-4F12-A8BA-CE5B80C26A9C', N'35-TP-13-管道复位记录UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'1BDF3627-8632-48A3-B8CB-1D388D8A112A', N'21-管道焊接工作记录SHT 3503-J415', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'1C555FBB-DC81-4D2E-8EA7-8F6F0D4A4142', N'36-TP-14-法兰螺栓扭矩记录表', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'1E3D0EA0-CE64-44EA-964F-5B289F5A588B', N'17-管道焊接接头热处理报告SHT 3503-J411', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'2BEFB0F4-A466-4C59-963F-9092BACF2E52', N'1-TP-01-试压包路径表UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'4B60CC6A-4431-49DF-A754-8B2C595C8C27', N'19-硬度检查报告SHT 3503-J130', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'4C45ABAB-89E9-4874-8F55-5050CDE98DFC', N'25-管道无损检测结果汇总表SHT 3503-J412-2017', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'6947FAA5-0475-4BEA-BE3A-C88BA503A0A5', N'26-管道无损检测数量统计表SHT 3503-J413-2017', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'6CD2710C-2AD6-4E7D-BED7-C8BEDAD300DE', N'3-TP-03-试压包目录UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'811EF650-7686-447F-BEE8-776D50041CD0', N'6-TP-05-P&ID清单UG-FW-001', N'/upload/6-TP-05-P&ID清单UG-FW-001.xls')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'854BF339-C7FA-4935-9CBD-C844904F62FB', N'15-管道补偿器安装检验记录SHT 3503-J405', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'857BDF12-E4E1-4FF1-A8D5-FC96CF09E70D', N'22-射线检测比例确认表SHT 3503-J412-2007', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'87A66CAA-CA30-4A1E-8382-E8503059A0D0', N'4-TP-04-试压标识', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'9C6CB4B3-446D-4C24-ADD8-DAC5F5DEF302', N'14-滑动固定管托安装检验记录SHT 3503-J404', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'A1E35220-A321-482A-B745-5F6456ADFE43', N'8-TP-06-单线图清单UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'A5F52E0C-90D2-4228-96ED-5FC4125159C5', N'32-管道系统压力试验记录SHT 3503-J406-2', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'AFC08566-A8D0-4118-B240-AADA04305E1B', N'34-管道系统压力试验条件确认记录SHT 3503-J406-1', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'B1AE758D-3850-4397-A036-7FA54EFD0A69', N'33-管道吹扫清洗记录SHT 3503-J408 UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'B33E6C98-F999-4DC6-B0A4-633AE85B349C', N'24-TP-10-渗透&MT检测比例确认表', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'D4B4DD64-8361-4A75-AA3E-E484934B9B06', N'2-TP-02-试压包封面UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'DD6E665D-F784-41BA-88EF-E836AB1EC02F', N'28-TP-12-试压用水（工具）检查清单UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'F20D530C-29BB-405F-AB0E-342496134375', N'11-TP-07-盲板清单UG-FW-001', N'')
GO
INSERT [dbo].[Template_Files] ([id], [title], [filePath]) VALUES (N'FEF7F71B-E630-49CE-AB3D-6BFADA074DB6', N'16-TP-08-静电接地清单UG-FW-001', N'')
GO

UPDATE dbo.Template_Files SET SortIndex= REPLACE(SUBSTRING(title,1,2),'-','') 
GO


