SELECT
[LogSys_202001-04].[ID] AS [ID],
[LogSys_202001-04].[SysContent] AS [SysContent],
[LogSys_202001-04].[SysSource] AS [SysSource],
[LogSys_202001-04].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_202001-04] AS [LogSys_202001-04]
SELECT
[LogSys_202003].[ID] AS [ID],
[LogSys_202003].[SysContent] AS [SysContent],
[LogSys_202003].[SysSource] AS [SysSource],
[LogSys_202003].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_202003] AS [LogSys_202003]
SELECT
[LogSys_202004].[ID] AS [ID],
[LogSys_202004].[SysContent] AS [SysContent],
[LogSys_202004].[SysSource] AS [SysSource],
[LogSys_202004].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_202004] AS [LogSys_202004]
SELECT
[LogSys_202005].[ID] AS [ID],
[LogSys_202005].[SysContent] AS [SysContent],
[LogSys_202005].[SysSource] AS [SysSource],
[LogSys_202005].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_202005] AS [LogSys_202005]
SELECT
[LogSys_20200605].[ID] AS [ID],
[LogSys_20200605].[SysContent] AS [SysContent],
[LogSys_20200605].[SysSource] AS [SysSource],
[LogSys_20200605].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_20200605] AS [LogSys_20200605]
SELECT
[LogSys_20200610].[ID] AS [ID],
[LogSys_20200610].[SysContent] AS [SysContent],
[LogSys_20200610].[SysSource] AS [SysSource],
[LogSys_20200610].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_20200610] AS [LogSys_20200610]
SELECT
[LogSys_20210322].[ID] AS [ID],
[LogSys_20210322].[SysContent] AS [SysContent],
[LogSys_20210322].[SysSource] AS [SysSource],
[LogSys_20210322].[CreateTime] AS [CreateTime]
FROM [dbo].[LogSys_20210322] AS [LogSys_20210322]
SELECT
[T_Sys_RoleLinkPower].[RoleID] AS [RoleID],
[T_Sys_RoleLinkPower].[PowerID] AS [PowerID],
[T_Sys_RoleLinkPower].[OpTime] AS [OpTime],
[T_Sys_RoleLinkPower].[OpName] AS [OpName]
FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower]
SELECT
[tb_Assembly_243].[ID] AS [ID],
[tb_Assembly_243].[PartNo] AS [PartNo],
[tb_Assembly_243].[PartName] AS [PartName],
[tb_Assembly_243].[BatchNo] AS [BatchNo],
[tb_Assembly_243].[Color] AS [Color],
[tb_Assembly_243].[ColorNo] AS [ColorNo],
[tb_Assembly_243].[PartType] AS [PartType],
[tb_Assembly_243].[TapeBatchNo] AS [TapeBatchNo],
[tb_Assembly_243].[Validity] AS [Validity],
[tb_Assembly_243].[ValidityDate] AS [ValidityDate],
[tb_Assembly_243].[CreateTime] AS [CreateTime],
[tb_Assembly_243].[PrintTime] AS [PrintTime],
[tb_Assembly_243].[Des] AS [Des],
[tb_Assembly_243].[Flag] AS [Flag],
[tb_Assembly_243].[ToVisual] AS [ToVisual],
[tb_Assembly_243].[FinishTime] AS [FinishTime]
FROM [dbo].[tb_Assembly_243] AS [tb_Assembly_243]
SELECT
[tb_Assembly_247].[ID] AS [ID],
[tb_Assembly_247].[PartNo] AS [PartNo],
[tb_Assembly_247].[PartName] AS [PartName],
[tb_Assembly_247].[BatchNo] AS [BatchNo],
[tb_Assembly_247].[Color] AS [Color],
[tb_Assembly_247].[ColorNo] AS [ColorNo],
[tb_Assembly_247].[PartType] AS [PartType],
[tb_Assembly_247].[TapeBatchNo] AS [TapeBatchNo],
[tb_Assembly_247].[Validity] AS [Validity],
[tb_Assembly_247].[ValidityDate] AS [ValidityDate],
[tb_Assembly_247].[CreateTime] AS [CreateTime],
[tb_Assembly_247].[PrintTime] AS [PrintTime],
[tb_Assembly_247].[Des] AS [Des],
[tb_Assembly_247].[Flag] AS [Flag],
[tb_Assembly_247].[ToVisual] AS [ToVisual],
[tb_Assembly_247].[FinishTime] AS [FinishTime],
[tb_Assembly_247].[IsCheck] AS [IsCheck],
[tb_Assembly_247].[DeviceNo] AS [DeviceNo]
FROM [dbo].[tb_Assembly_247] AS [tb_Assembly_247]
SELECT
[tb_Bom_20190726].[BomID] AS [BomID],
[tb_Bom_20190726].[PartNo1] AS [PartNo1],
[tb_Bom_20190726].[PartNo2] AS [PartNo2]
FROM [dbo].[tb_Bom_20190726] AS [tb_Bom_20190726]
SELECT
[tb_Box_247].[ID] AS [ID],
[tb_Box_247].[BoxNo] AS [BoxNo],
[tb_Box_247].[PartNo] AS [PartNo],
[tb_Box_247].[PartName] AS [PartName],
[tb_Box_247].[BatchNo] AS [BatchNo],
[tb_Box_247].[BoxCount] AS [BoxCount],
[tb_Box_247].[CreateTime] AS [CreateTime],
[tb_Box_247].[PrintTime] AS [PrintTime],
[tb_Box_247].[Des] AS [Des],
[tb_Box_247].[Flag] AS [Flag],
[tb_Box_247].[Validity] AS [Validity],
[tb_Box_247].[ValidityDate] AS [ValidityDate]
FROM [dbo].[tb_Box_247] AS [tb_Box_247]
SELECT
[tb_Color_20191008].[ID] AS [ID],
[tb_Color_20191008].[ColorCode] AS [ColorCode],
[tb_Color_20191008].[ColorNo] AS [ColorNo],
[tb_Color_20191008].[Des] AS [Des],
[tb_Color_20191008].[Circle] AS [Circle],
[tb_Color_20191008].[ColorQQCode] AS [ColorQQCode]
FROM [dbo].[tb_Color_20191008] AS [tb_Color_20191008]
SELECT
[tb_Color_20201101].[ID] AS [ID],
[tb_Color_20201101].[ColorCode] AS [ColorCode],
[tb_Color_20201101].[ColorNo] AS [ColorNo],
[tb_Color_20201101].[Des] AS [Des],
[tb_Color_20201101].[Circle] AS [Circle],
[tb_Color_20201101].[ColorQQCode] AS [ColorQQCode],
[tb_Color_20201101].[ColorDQCode] AS [ColorDQCode],
[tb_Color_20201101].[CreateTime] AS [CreateTime],
[tb_Color_20201101].[UpdateTime] AS [UpdateTime],
[tb_Color_20201101].[OrderNo] AS [OrderNo]
FROM [dbo].[tb_Color_20201101] AS [tb_Color_20201101]
SELECT
[tb_InjectPlanReport].[ID] AS [ID],
[tb_InjectPlanReport].[InjectionPlanID] AS [InjectionPlanID],
[tb_InjectPlanReport].[ProductName] AS [ProductName],
[tb_InjectPlanReport].[MaterialName] AS [MaterialName],
[tb_InjectPlanReport].[Drum] AS [Drum],
[tb_InjectPlanReport].[BatchNo] AS [BatchNo],
[tb_InjectPlanReport].[Time1] AS [Time1]
FROM [dbo].[tb_InjectPlanReport] AS [tb_InjectPlanReport]
SELECT
[tb_InspectResult_20190902].[ID] AS [ID],
[tb_InspectResult_20190902].[barcode] AS [barcode],
[tb_InspectResult_20190902].[side] AS [side],
[tb_InspectResult_20190902].[position] AS [position],
[tb_InspectResult_20190902].[stationNo] AS [stationNo],
[tb_InspectResult_20190902].[workClass] AS [workClass],
[tb_InspectResult_20190902].[inspectResult] AS [inspectResult],
[tb_InspectResult_20190902].[damnPosition] AS [damnPosition],
[tb_InspectResult_20190902].[defectID] AS [defectID],
[tb_InspectResult_20190902].[reason] AS [reason],
[tb_InspectResult_20190902].[productInfo] AS [productInfo],
[tb_InspectResult_20190902].[productOption] AS [productOption],
[tb_InspectResult_20190902].[createTime] AS [createTime],
[tb_InspectResult_20190902].[InspectTimes] AS [InspectTimes],
[tb_InspectResult_20190902].[remark1] AS [remark1],
[tb_InspectResult_20190902].[remark2] AS [remark2],
[tb_InspectResult_20190902].[remark3] AS [remark3]
FROM [dbo].[tb_InspectResult_20190902] AS [tb_InspectResult_20190902]
SELECT
[tb_InspectResult_20200717].[ID] AS [ID],
[tb_InspectResult_20200717].[barcode] AS [barcode],
[tb_InspectResult_20200717].[side] AS [side],
[tb_InspectResult_20200717].[position] AS [position],
[tb_InspectResult_20200717].[stationNo] AS [stationNo],
[tb_InspectResult_20200717].[workClass] AS [workClass],
[tb_InspectResult_20200717].[inspectResult] AS [inspectResult],
[tb_InspectResult_20200717].[damnPosition] AS [damnPosition],
[tb_InspectResult_20200717].[defectID] AS [defectID],
[tb_InspectResult_20200717].[reason] AS [reason],
[tb_InspectResult_20200717].[productInfo] AS [productInfo],
[tb_InspectResult_20200717].[productOption] AS [productOption],
[tb_InspectResult_20200717].[createTime] AS [createTime],
[tb_InspectResult_20200717].[InspectTimes] AS [InspectTimes],
[tb_InspectResult_20200717].[remark1] AS [remark1],
[tb_InspectResult_20200717].[remark2] AS [remark2],
[tb_InspectResult_20200717].[remark3] AS [remark3]
FROM [dbo].[tb_InspectResult_20200717] AS [tb_InspectResult_20200717]
SELECT
[tb_InspectResult_20201021].[ID] AS [ID],
[tb_InspectResult_20201021].[barcode] AS [barcode],
[tb_InspectResult_20201021].[side] AS [side],
[tb_InspectResult_20201021].[position] AS [position],
[tb_InspectResult_20201021].[stationNo] AS [stationNo],
[tb_InspectResult_20201021].[workClass] AS [workClass],
[tb_InspectResult_20201021].[inspectResult] AS [inspectResult],
[tb_InspectResult_20201021].[damnPosition] AS [damnPosition],
[tb_InspectResult_20201021].[defectID] AS [defectID],
[tb_InspectResult_20201021].[reason] AS [reason],
[tb_InspectResult_20201021].[productInfo] AS [productInfo],
[tb_InspectResult_20201021].[productOption] AS [productOption],
[tb_InspectResult_20201021].[createTime] AS [createTime],
[tb_InspectResult_20201021].[InspectTimes] AS [InspectTimes],
[tb_InspectResult_20201021].[remark1] AS [remark1],
[tb_InspectResult_20201021].[remark2] AS [remark2],
[tb_InspectResult_20201021].[remark3] AS [remark3]
FROM [dbo].[tb_InspectResult_20201021] AS [tb_InspectResult_20201021]
SELECT
[tb_InspectResult_20210322].[ID] AS [ID],
[tb_InspectResult_20210322].[barcode] AS [barcode],
[tb_InspectResult_20210322].[side] AS [side],
[tb_InspectResult_20210322].[position] AS [position],
[tb_InspectResult_20210322].[stationNo] AS [stationNo],
[tb_InspectResult_20210322].[workClass] AS [workClass],
[tb_InspectResult_20210322].[inspectResult] AS [inspectResult],
[tb_InspectResult_20210322].[damnPosition] AS [damnPosition],
[tb_InspectResult_20210322].[defectID] AS [defectID],
[tb_InspectResult_20210322].[reason] AS [reason],
[tb_InspectResult_20210322].[productInfo] AS [productInfo],
[tb_InspectResult_20210322].[productOption] AS [productOption],
[tb_InspectResult_20210322].[createTime] AS [createTime],
[tb_InspectResult_20210322].[InspectTimes] AS [InspectTimes],
[tb_InspectResult_20210322].[remark1] AS [remark1],
[tb_InspectResult_20210322].[remark2] AS [remark2],
[tb_InspectResult_20210322].[remark3] AS [remark3]
FROM [dbo].[tb_InspectResult_20210322] AS [tb_InspectResult_20210322]
SELECT
[tb_Mistake_243_bak].[ID] AS [ID],
[tb_Mistake_243_bak].[PartNo1] AS [PartNo1],
[tb_Mistake_243_bak].[PartName1] AS [PartName1],
[tb_Mistake_243_bak].[PartNo2] AS [PartNo2],
[tb_Mistake_243_bak].[PartName2] AS [PartName2],
[tb_Mistake_243_bak].[PackCount] AS [PackCount],
[tb_Mistake_243_bak].[DeviceNo] AS [DeviceNo]
FROM [dbo].[tb_Mistake_243_bak] AS [tb_Mistake_243_bak]
SELECT
[tb_Plan_Punch_20200509].[ID] AS [ID],
[tb_Plan_Punch_20200509].[OrderNo] AS [OrderNo],
[tb_Plan_Punch_20200509].[Item] AS [Item],
[tb_Plan_Punch_20200509].[PartNo] AS [PartNo],
[tb_Plan_Punch_20200509].[OrderCount] AS [OrderCount],
[tb_Plan_Punch_20200509].[LyCount] AS [LyCount],
[tb_Plan_Punch_20200509].[CompleteCount] AS [CompleteCount],
[tb_Plan_Punch_20200509].[BadCount] AS [BadCount],
[tb_Plan_Punch_20200509].[Des] AS [Des],
[tb_Plan_Punch_20200509].[IsFinish] AS [IsFinish],
[tb_Plan_Punch_20200509].[CreateTime] AS [CreateTime]
FROM [dbo].[tb_Plan_Punch_20200509] AS [tb_Plan_Punch_20200509]
SELECT
[tb_PrintRecord].[ID] AS [ID],
[tb_PrintRecord].[BarCode] AS [BarCode],
[tb_PrintRecord].[PrintCode] AS [PrintCode],
[tb_PrintRecord].[ColorName] AS [ColorName],
[tb_PrintRecord].[Color] AS [Color],
[tb_PrintRecord].[ColorCode] AS [ColorCode],
[tb_PrintRecord].[ProductName] AS [ProductName],
[tb_PrintRecord].[ProductInfo] AS [ProductInfo],
[tb_PrintRecord].[PrintType] AS [PrintType],
[tb_PrintRecord].[PrintTime] AS [PrintTime]
FROM [dbo].[tb_PrintRecord] AS [tb_PrintRecord]
SELECT
[tb_Product_20200513].[ProductID] AS [ProductID],
[tb_Product_20200513].[ProductTypeID] AS [ProductTypeID],
[tb_Product_20200513].[StockNo] AS [StockNo],
[tb_Product_20200513].[PartName] AS [PartName],
[tb_Product_20200513].[ProductName] AS [ProductName],
[tb_Product_20200513].[ColorName] AS [ColorName],
[tb_Product_20200513].[PartNo] AS [PartNo],
[tb_Product_20200513].[Rows] AS [Rows],
[tb_Product_20200513].[Cols] AS [Cols],
[tb_Product_20200513].[Layers] AS [Layers],
[tb_Product_20200513].[PicturePath] AS [PicturePath],
[tb_Product_20200513].[Des] AS [Des],
[tb_Product_20200513].[isImport] AS [isImport]
FROM [dbo].[tb_Product_20200513] AS [tb_Product_20200513]
SELECT
[tb_Product_20201110].[ProductID] AS [ProductID],
[tb_Product_20201110].[ProductTypeID] AS [ProductTypeID],
[tb_Product_20201110].[ProjectID] AS [ProjectID],
[tb_Product_20201110].[StockNo] AS [StockNo],
[tb_Product_20201110].[PartName] AS [PartName],
[tb_Product_20201110].[ProductName] AS [ProductName],
[tb_Product_20201110].[ColorName] AS [ColorName],
[tb_Product_20201110].[PartNo] AS [PartNo],
[tb_Product_20201110].[Rows] AS [Rows],
[tb_Product_20201110].[Cols] AS [Cols],
[tb_Product_20201110].[Layers] AS [Layers],
[tb_Product_20201110].[PicturePath] AS [PicturePath],
[tb_Product_20201110].[Des] AS [Des],
[tb_Product_20201110].[isImport] AS [isImport],
[tb_Product_20201110].[DeviceNo] AS [DeviceNo],
[tb_Product_20201110].[IsHigh] AS [IsHigh],
[tb_Product_20201110].[OrderNo] AS [OrderNo]
FROM [dbo].[tb_Product_20201110] AS [tb_Product_20201110]
SELECT
[tb_Product_Injection_20190726].[ID] AS [ID],
[tb_Product_Injection_20190726].[StationID] AS [StationID],
[tb_Product_Injection_20190726].[ProductDate] AS [ProductDate],
[tb_Product_Injection_20190726].[ClassName] AS [ClassName],
[tb_Product_Injection_20190726].[StockNo] AS [StockNo],
[tb_Product_Injection_20190726].[PartNo] AS [PartNo],
[tb_Product_Injection_20190726].[ProductCount] AS [ProductCount],
[tb_Product_Injection_20190726].[BadCount] AS [BadCount]
FROM [dbo].[tb_Product_Injection_20190726] AS [tb_Product_Injection_20190726]
SELECT
[tb_Product0912].[ProductID] AS [ProductID],
[tb_Product0912].[ProductTypeID] AS [ProductTypeID],
[tb_Product0912].[ProjectID] AS [ProjectID],
[tb_Product0912].[StockNo] AS [StockNo],
[tb_Product0912].[PartName] AS [PartName],
[tb_Product0912].[ProductName] AS [ProductName],
[tb_Product0912].[ColorName] AS [ColorName],
[tb_Product0912].[PartNo] AS [PartNo],
[tb_Product0912].[Rows] AS [Rows],
[tb_Product0912].[Cols] AS [Cols],
[tb_Product0912].[Layers] AS [Layers],
[tb_Product0912].[PicturePath] AS [PicturePath],
[tb_Product0912].[Des] AS [Des],
[tb_Product0912].[isImport] AS [isImport],
[tb_Product0912].[DeviceNo] AS [DeviceNo],
[tb_Product0912].[IsHigh] AS [IsHigh]
FROM [dbo].[tb_Product0912] AS [tb_Product0912]
SELECT
[tb_Product20200802].[ProductID] AS [ProductID],
[tb_Product20200802].[ProductTypeID] AS [ProductTypeID],
[tb_Product20200802].[StockNo] AS [StockNo],
[tb_Product20200802].[PartName] AS [PartName],
[tb_Product20200802].[ProductName] AS [ProductName],
[tb_Product20200802].[ColorName] AS [ColorName],
[tb_Product20200802].[PartNo] AS [PartNo],
[tb_Product20200802].[Rows] AS [Rows],
[tb_Product20200802].[Cols] AS [Cols],
[tb_Product20200802].[Layers] AS [Layers],
[tb_Product20200802].[PicturePath] AS [PicturePath],
[tb_Product20200802].[Des] AS [Des],
[tb_Product20200802].[isImport] AS [isImport],
[tb_Product20200802].[DeviceNo] AS [DeviceNo],
[tb_Product20200802].[IsHigh] AS [IsHigh]
FROM [dbo].[tb_Product20200802] AS [tb_Product20200802]
SELECT
[tb_Product20201016].[ProductID] AS [ProductID],
[tb_Product20201016].[ProductTypeID] AS [ProductTypeID],
[tb_Product20201016].[ProjectID] AS [ProjectID],
[tb_Product20201016].[StockNo] AS [StockNo],
[tb_Product20201016].[PartName] AS [PartName],
[tb_Product20201016].[ProductName] AS [ProductName],
[tb_Product20201016].[ColorName] AS [ColorName],
[tb_Product20201016].[PartNo] AS [PartNo],
[tb_Product20201016].[Rows] AS [Rows],
[tb_Product20201016].[Cols] AS [Cols],
[tb_Product20201016].[Layers] AS [Layers],
[tb_Product20201016].[PicturePath] AS [PicturePath],
[tb_Product20201016].[Des] AS [Des],
[tb_Product20201016].[isImport] AS [isImport],
[tb_Product20201016].[DeviceNo] AS [DeviceNo],
[tb_Product20201016].[IsHigh] AS [IsHigh]
FROM [dbo].[tb_Product20201016] AS [tb_Product20201016]
SELECT
[tb_Punch_Code_Record_20200721].[ID] AS [ID],
[tb_Punch_Code_Record_20200721].[barcode] AS [barcode],
[tb_Punch_Code_Record_20200721].[BcpID] AS [BcpID],
[tb_Punch_Code_Record_20200721].[ZcID] AS [ZcID],
[tb_Punch_Code_Record_20200721].[OrderNo] AS [OrderNo],
[tb_Punch_Code_Record_20200721].[WorkClass] AS [WorkClass],
[tb_Punch_Code_Record_20200721].[CreateTime] AS [CreateTime],
[tb_Punch_Code_Record_20200721].[PlanID] AS [PlanID]
FROM [dbo].[tb_Punch_Code_Record_20200721] AS [tb_Punch_Code_Record_20200721]
SELECT
[tb_Punch_Code_Record_20200907].[ID] AS [ID],
[tb_Punch_Code_Record_20200907].[barcode] AS [barcode],
[tb_Punch_Code_Record_20200907].[BcpID] AS [BcpID],
[tb_Punch_Code_Record_20200907].[ZcID] AS [ZcID],
[tb_Punch_Code_Record_20200907].[OrderNo] AS [OrderNo],
[tb_Punch_Code_Record_20200907].[WorkClass] AS [WorkClass],
[tb_Punch_Code_Record_20200907].[CreateTime] AS [CreateTime],
[tb_Punch_Code_Record_20200907].[PlanID] AS [PlanID]
FROM [dbo].[tb_Punch_Code_Record_20200907] AS [tb_Punch_Code_Record_20200907]
SELECT
[tb_Punch_Code_Record_BF].[ID] AS [ID],
[tb_Punch_Code_Record_BF].[barcode] AS [barcode],
[tb_Punch_Code_Record_BF].[BcpID] AS [BcpID],
[tb_Punch_Code_Record_BF].[ZcID] AS [ZcID],
[tb_Punch_Code_Record_BF].[OrderNo] AS [OrderNo],
[tb_Punch_Code_Record_BF].[WorkClass] AS [WorkClass],
[tb_Punch_Code_Record_BF].[CreateTime] AS [CreateTime],
[tb_Punch_Code_Record_BF].[PlanID] AS [PlanID]
FROM [dbo].[tb_Punch_Code_Record_BF] AS [tb_Punch_Code_Record_BF]
SELECT
[tb_Record_247].[ID] AS [ID],
[tb_Record_247].[PartNo1] AS [PartNo1],
[tb_Record_247].[PartNo2] AS [PartNo2],
[tb_Record_247].[BoxNo] AS [BoxNo],
[tb_Record_247].[OrderNo] AS [OrderNo],
[tb_Record_247].[CreateTime1] AS [CreateTime1],
[tb_Record_247].[CreateTime2] AS [CreateTime2],
[tb_Record_247].[Flag] AS [Flag],
[tb_Record_247].[Type] AS [Type],
[tb_Record_247].[ToVisual] AS [ToVisual],
[tb_Record_247].[FinishTime] AS [FinishTime],
[tb_Record_247].[DeviceNo] AS [DeviceNo]
FROM [dbo].[tb_Record_247] AS [tb_Record_247]
SELECT
[tb_Report_FiveScreen_20191011].[ID] AS [ID],
[tb_Report_FiveScreen_20191011].[Name] AS [Name],
[tb_Report_FiveScreen_20191011].[LastYear] AS [LastYear],
[tb_Report_FiveScreen_20191011].[Jan] AS [Jan],
[tb_Report_FiveScreen_20191011].[Feb] AS [Feb],
[tb_Report_FiveScreen_20191011].[Mar] AS [Mar],
[tb_Report_FiveScreen_20191011].[Apr] AS [Apr],
[tb_Report_FiveScreen_20191011].[May] AS [May],
[tb_Report_FiveScreen_20191011].[Jun] AS [Jun],
[tb_Report_FiveScreen_20191011].[Jul] AS [Jul],
[tb_Report_FiveScreen_20191011].[Aug] AS [Aug],
[tb_Report_FiveScreen_20191011].[Sept] AS [Sept],
[tb_Report_FiveScreen_20191011].[Oct] AS [Oct],
[tb_Report_FiveScreen_20191011].[Nov] AS [Nov],
[tb_Report_FiveScreen_20191011].[Dec] AS [Dec],
[tb_Report_FiveScreen_20191011].[day1] AS [day1],
[tb_Report_FiveScreen_20191011].[day2] AS [day2],
[tb_Report_FiveScreen_20191011].[day3] AS [day3],
[tb_Report_FiveScreen_20191011].[day4] AS [day4],
[tb_Report_FiveScreen_20191011].[day5] AS [day5],
[tb_Report_FiveScreen_20191011].[day6] AS [day6],
[tb_Report_FiveScreen_20191011].[day7] AS [day7],
[tb_Report_FiveScreen_20191011].[day8] AS [day8],
[tb_Report_FiveScreen_20191011].[day9] AS [day9],
[tb_Report_FiveScreen_20191011].[day10] AS [day10],
[tb_Report_FiveScreen_20191011].[day11] AS [day11],
[tb_Report_FiveScreen_20191011].[day12] AS [day12],
[tb_Report_FiveScreen_20191011].[day13] AS [day13],
[tb_Report_FiveScreen_20191011].[day14] AS [day14],
[tb_Report_FiveScreen_20191011].[day15] AS [day15],
[tb_Report_FiveScreen_20191011].[day16] AS [day16],
[tb_Report_FiveScreen_20191011].[day17] AS [day17],
[tb_Report_FiveScreen_20191011].[day18] AS [day18],
[tb_Report_FiveScreen_20191011].[day19] AS [day19],
[tb_Report_FiveScreen_20191011].[day20] AS [day20],
[tb_Report_FiveScreen_20191011].[day21] AS [day21],
[tb_Report_FiveScreen_20191011].[day22] AS [day22],
[tb_Report_FiveScreen_20191011].[day23] AS [day23],
[tb_Report_FiveScreen_20191011].[day24] AS [day24],
[tb_Report_FiveScreen_20191011].[day25] AS [day25],
[tb_Report_FiveScreen_20191011].[day26] AS [day26],
[tb_Report_FiveScreen_20191011].[day27] AS [day27],
[tb_Report_FiveScreen_20191011].[day28] AS [day28],
[tb_Report_FiveScreen_20191011].[day29] AS [day29],
[tb_Report_FiveScreen_20191011].[day30] AS [day30],
[tb_Report_FiveScreen_20191011].[day31] AS [day31],
[tb_Report_FiveScreen_20191011].[CreateTime] AS [CreateTime]
FROM [dbo].[tb_Report_FiveScreen_20191011] AS [tb_Report_FiveScreen_20191011]
SELECT
[tb_Report_FiveScreen_20191014].[ID] AS [ID],
[tb_Report_FiveScreen_20191014].[Name] AS [Name],
[tb_Report_FiveScreen_20191014].[LastYear] AS [LastYear],
[tb_Report_FiveScreen_20191014].[Jan] AS [Jan],
[tb_Report_FiveScreen_20191014].[Feb] AS [Feb],
[tb_Report_FiveScreen_20191014].[Mar] AS [Mar],
[tb_Report_FiveScreen_20191014].[Apr] AS [Apr],
[tb_Report_FiveScreen_20191014].[May] AS [May],
[tb_Report_FiveScreen_20191014].[Jun] AS [Jun],
[tb_Report_FiveScreen_20191014].[Jul] AS [Jul],
[tb_Report_FiveScreen_20191014].[Aug] AS [Aug],
[tb_Report_FiveScreen_20191014].[Sept] AS [Sept],
[tb_Report_FiveScreen_20191014].[Oct] AS [Oct],
[tb_Report_FiveScreen_20191014].[Nov] AS [Nov],
[tb_Report_FiveScreen_20191014].[Dec] AS [Dec],
[tb_Report_FiveScreen_20191014].[day1] AS [day1],
[tb_Report_FiveScreen_20191014].[day2] AS [day2],
[tb_Report_FiveScreen_20191014].[day3] AS [day3],
[tb_Report_FiveScreen_20191014].[day4] AS [day4],
[tb_Report_FiveScreen_20191014].[day5] AS [day5],
[tb_Report_FiveScreen_20191014].[day6] AS [day6],
[tb_Report_FiveScreen_20191014].[day7] AS [day7],
[tb_Report_FiveScreen_20191014].[day8] AS [day8],
[tb_Report_FiveScreen_20191014].[day9] AS [day9],
[tb_Report_FiveScreen_20191014].[day10] AS [day10],
[tb_Report_FiveScreen_20191014].[day11] AS [day11],
[tb_Report_FiveScreen_20191014].[day12] AS [day12],
[tb_Report_FiveScreen_20191014].[day13] AS [day13],
[tb_Report_FiveScreen_20191014].[day14] AS [day14],
[tb_Report_FiveScreen_20191014].[day15] AS [day15],
[tb_Report_FiveScreen_20191014].[day16] AS [day16],
[tb_Report_FiveScreen_20191014].[day17] AS [day17],
[tb_Report_FiveScreen_20191014].[day18] AS [day18],
[tb_Report_FiveScreen_20191014].[day19] AS [day19],
[tb_Report_FiveScreen_20191014].[day20] AS [day20],
[tb_Report_FiveScreen_20191014].[day21] AS [day21],
[tb_Report_FiveScreen_20191014].[day22] AS [day22],
[tb_Report_FiveScreen_20191014].[day23] AS [day23],
[tb_Report_FiveScreen_20191014].[day24] AS [day24],
[tb_Report_FiveScreen_20191014].[day25] AS [day25],
[tb_Report_FiveScreen_20191014].[day26] AS [day26],
[tb_Report_FiveScreen_20191014].[day27] AS [day27],
[tb_Report_FiveScreen_20191014].[day28] AS [day28],
[tb_Report_FiveScreen_20191014].[day29] AS [day29],
[tb_Report_FiveScreen_20191014].[day30] AS [day30],
[tb_Report_FiveScreen_20191014].[day31] AS [day31],
[tb_Report_FiveScreen_20191014].[CreateTime] AS [CreateTime]
FROM [dbo].[tb_Report_FiveScreen_20191014] AS [tb_Report_FiveScreen_20191014]
SELECT
[tb_ReportPaintingScreen].[color] AS [color],
[tb_ReportPaintingScreen].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum],
[tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate],
[tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum],
[tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate]
FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen]
SELECT
[tb_ReportPaintingScreen_bak].[color] AS [color],
[tb_ReportPaintingScreen_bak].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen_bak].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen_bak].[oncePassNum] AS [oncePassNum],
[tb_ReportPaintingScreen_bak].[oncePassRate] AS [oncePassRate],
[tb_ReportPaintingScreen_bak].[sumPassNum] AS [sumPassNum],
[tb_ReportPaintingScreen_bak].[sumPassRate] AS [sumPassRate]
FROM [dbo].[tb_ReportPaintingScreen_bak] AS [tb_ReportPaintingScreen_bak]
SELECT
[tb_ReportPaintingScreen_pg].[color] AS [color],
[tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum],
[tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1],
[tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1],
[tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2],
[tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2],
[tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3],
[tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3],
[tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4],
[tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4],
[tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5],
[tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5]
FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg]
SELECT
[tb_ReportPaintingScreen_pg_bak].[color] AS [color],
[tb_ReportPaintingScreen_pg_bak].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen_pg_bak].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen_pg_bak].[hgNum] AS [hgNum],
[tb_ReportPaintingScreen_pg_bak].[DefectName1] AS [DefectName1],
[tb_ReportPaintingScreen_pg_bak].[defectRate1] AS [defectRate1],
[tb_ReportPaintingScreen_pg_bak].[DefectName2] AS [DefectName2],
[tb_ReportPaintingScreen_pg_bak].[defectRate2] AS [defectRate2],
[tb_ReportPaintingScreen_pg_bak].[DefectName3] AS [DefectName3],
[tb_ReportPaintingScreen_pg_bak].[defectRate3] AS [defectRate3],
[tb_ReportPaintingScreen_pg_bak].[DefectName4] AS [DefectName4],
[tb_ReportPaintingScreen_pg_bak].[defectRate4] AS [defectRate4],
[tb_ReportPaintingScreen_pg_bak].[DefectName5] AS [DefectName5],
[tb_ReportPaintingScreen_pg_bak].[defectRate5] AS [defectRate5]
FROM [dbo].[tb_ReportPaintingScreen_pg_bak] AS [tb_ReportPaintingScreen_pg_bak]
SELECT
[tb_SkidInfo_20200904].[ID] AS [ID],
[tb_SkidInfo_20200904].[SkidNo] AS [SkidNo],
[tb_SkidInfo_20200904].[BarcodeLeft] AS [BarcodeLeft],
[tb_SkidInfo_20200904].[BarcodeRight] AS [BarcodeRight],
[tb_SkidInfo_20200904].[Layer] AS [Layer],
[tb_SkidInfo_20200904].[ColorInfo] AS [ColorInfo],
[tb_SkidInfo_20200904].[CreateTime] AS [CreateTime],
[tb_SkidInfo_20200904].[Side_1_BC01] AS [Side_1_BC01],
[tb_SkidInfo_20200904].[Side_1_BC02] AS [Side_1_BC02],
[tb_SkidInfo_20200904].[Side_1_BC03] AS [Side_1_BC03],
[tb_SkidInfo_20200904].[Side_1_BC04] AS [Side_1_BC04],
[tb_SkidInfo_20200904].[Side_1_BC05] AS [Side_1_BC05],
[tb_SkidInfo_20200904].[Side_1_BC06] AS [Side_1_BC06],
[tb_SkidInfo_20200904].[Side_1_BC07] AS [Side_1_BC07],
[tb_SkidInfo_20200904].[Side_1_BC08] AS [Side_1_BC08],
[tb_SkidInfo_20200904].[Side_1_BC09] AS [Side_1_BC09],
[tb_SkidInfo_20200904].[Side_1_BC10] AS [Side_1_BC10],
[tb_SkidInfo_20200904].[Side_1_BC11] AS [Side_1_BC11],
[tb_SkidInfo_20200904].[Side_1_BC12] AS [Side_1_BC12],
[tb_SkidInfo_20200904].[Side_2_BC01] AS [Side_2_BC01],
[tb_SkidInfo_20200904].[Side_2_BC02] AS [Side_2_BC02],
[tb_SkidInfo_20200904].[Side_2_BC03] AS [Side_2_BC03],
[tb_SkidInfo_20200904].[Side_2_BC04] AS [Side_2_BC04],
[tb_SkidInfo_20200904].[Side_2_BC05] AS [Side_2_BC05],
[tb_SkidInfo_20200904].[Side_2_BC06] AS [Side_2_BC06],
[tb_SkidInfo_20200904].[Side_2_BC07] AS [Side_2_BC07],
[tb_SkidInfo_20200904].[Side_2_BC08] AS [Side_2_BC08],
[tb_SkidInfo_20200904].[Side_2_BC09] AS [Side_2_BC09],
[tb_SkidInfo_20200904].[Side_2_BC10] AS [Side_2_BC10],
[tb_SkidInfo_20200904].[Side_2_BC11] AS [Side_2_BC11],
[tb_SkidInfo_20200904].[Side_2_BC12] AS [Side_2_BC12]
FROM [dbo].[tb_SkidInfo_20200904] AS [tb_SkidInfo_20200904]
SELECT
[tb_StockIn].[ID] AS [ID],
[tb_StockIn].[barcode] AS [barcode],
[tb_StockIn].[pass] AS [pass],
[tb_StockIn].[createTime] AS [createTime],
[tb_StockIn].[paintCode] AS [paintCode],
[tb_StockIn].[ZcCode] AS [ZcCode]
FROM [dbo].[tb_StockIn] AS [tb_StockIn]
SELECT
[tb_StockIn_20200511].[ID] AS [ID],
[tb_StockIn_20200511].[barcode] AS [barcode],
[tb_StockIn_20200511].[pass] AS [pass],
[tb_StockIn_20200511].[createTime] AS [createTime],
[tb_StockIn_20200511].[paintCode] AS [paintCode],
[tb_StockIn_20200511].[ZcCode] AS [ZcCode]
FROM [dbo].[tb_StockIn_20200511] AS [tb_StockIn_20200511]
SELECT
[tb_StockIn_20210322].[ID] AS [ID],
[tb_StockIn_20210322].[barcode] AS [barcode],
[tb_StockIn_20210322].[pass] AS [pass],
[tb_StockIn_20210322].[createTime] AS [createTime],
[tb_StockIn_20210322].[paintCode] AS [paintCode],
[tb_StockIn_20210322].[ZcCode] AS [ZcCode]
FROM [dbo].[tb_StockIn_20210322] AS [tb_StockIn_20210322]
SELECT
[test1].[ID] AS [ID],
[test1].[StationID] AS [StationID],
[test1].[StockNo] AS [StockNo],
[test1].[PrintType] AS [PrintType],
[test1].[OneBarCode] AS [OneBarCode],
[test1].[PlanID] AS [PlanID],
[test1].[CreateTime] AS [CreateTime],
[test1].[ProductName] AS [ProductName],
[test1].[PartNo] AS [PartNo],
[test1].[ProductDate] AS [ProductDate],
[test1].[ClassName] AS [ClassName]
FROM [dbo].[test1] AS [test1]