From 2f5ef5068f026ec1fe182d34a6ff61de8337f18d Mon Sep 17 00:00:00 2001 From: jh_peng Date: Mon, 25 Nov 2024 18:09:30 +0800 Subject: [PATCH] =?UTF-8?q?V0=20FT=E8=AE=B0=E5=BD=95=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repository/test.data/report.list.excel.go | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/repository/test.data/report.list.excel.go b/repository/test.data/report.list.excel.go index 02aedd6..50aced6 100644 --- a/repository/test.data/report.list.excel.go +++ b/repository/test.data/report.list.excel.go @@ -17,6 +17,12 @@ import ( func ExportWaferList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "晶圆型号", "晶圆厂", "晶圆尺寸", "投片数量", "在线数量", "回货数量", "回货日期", "回货批次"}) var waferLists []*model.WaferList @@ -44,6 +50,12 @@ func ExportWaferList() string { func ExportABList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "成品型号", "晶圆型号", "封装", "封装厂", "批号", "片号", "订单数量", "在线数量", "良率", "出库数", "入库数", "回货日期", "封装良品", "封装不良品"}) var abLists []*model.ABList @@ -71,6 +83,12 @@ func ExportABList() string { func ExportBPList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "晶圆型号", "封装", "CP测试厂", "批号", "片号", "订单数量", "在线数量", "回货日期", "到货数量", "DIE数量"}) var bpLists []*model.BPList @@ -97,6 +115,12 @@ func ExportBPList() string { func ExportCPList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "晶圆型号", "封装", "CP测试厂", "批号", "片号", "订单数量", "在线数量", "测试程序", "回货日期", "到货数量", "DIE数量"}) var cpLists []*model.CPList @@ -149,6 +173,12 @@ func ExportCPList() string { func ExportFTList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "成品型号", "晶圆型号", "封装", "FT测试厂", "批号", "丝印", "订单数量", "在线数量", "FT测试程序", "回货日期", "回货数量", "FT良品", "FT不良品", "回收率", "测试数量", "良品数量", "测试良率", "结批测试数量", "结批良品数量", "结批良率"}) var ftLists []*model.FTList @@ -286,6 +316,12 @@ func ExportFTList() string { func ExportTRList() string { f := excelize.NewFile() sheetName := f.GetSheetName(0) + _ = f.SetPanes(sheetName, &excelize.Panes{ + Freeze: true, + YSplit: 1, + TopLeftCell: "A1", + ActivePane: "topLeft", + }) _ = f.SetSheetRow(sheetName, "A1", &[]interface{}{"状态", "下单日期", "订单号", "成品型号", "晶圆型号", "封装", "封装厂", "批号", "订单数量", "在线数量", "回货日期", "封装良品", "封装不良品"}) var trLists []*model.TRList