V0 结批报告厂商名称

This commit is contained in:
jh_peng 2024-10-25 15:46:50 +08:00
parent 633ae3b99c
commit 9125ca7cbb
2 changed files with 11 additions and 0 deletions

View File

@ -1621,3 +1621,11 @@
2024-10-25 14:19:05 INFO | 192.168.0.172 | 200 | 690.6µs | POST | 未登录 | /testData/report/fTPassProbabilityByProduct
2024-10-25 14:21:11 INFO | 192.168.0.172 | 200 | 12.1305132s | POST | 未登录 | /testData/report/fTPassProbabilityByProduct
2024-10-25 14:21:27 INFO | 192.168.0.172 | 200 | 2.3926672s | POST | 未登录 | /testData/report/fTPassProbabilityByProduct
2024-10-25 15:38:13 INFO | 192.168.0.172 | 200 | 3.1751ms | GET | 未登录 | /testData/warning?page=1&pageSize=20&key_word=
2024-10-25 15:38:16 INFO | 192.168.0.172 | 200 | 2.9625ms | GET | 未登录 | /testData/finalReport/excel?page=1&pageSize=20&key_word=
2024-10-25 15:38:18 INFO | 192.168.0.172 | 200 | 1.4991ms | GET | 未登录 | /testData/finalReport/excel?page=1&pageSize=20&key_word=
2024-10-25 15:38:25 INFO | 192.168.0.172 | 200 | 2.519ms | GET | 未登录 | /testData/import/testFile/factorySelection
2024-10-25 15:38:45 INFO | 192.168.0.172 | 200 | 2.0585ms | GET | 未登录 | /testData/finalReport/excel?page=1&pageSize=20&key_word=
2024-10-25 15:38:49 INFO | 192.168.0.172 | 200 | 2.2275ms | GET | 未登录 | /testData/finalReport/excel?page=1&pageSize=20&key_word=
2024-10-25 15:38:52 INFO | 192.168.0.172 | 200 | 1.5576ms | GET | 未登录 | /testData/import/testFile/factorySelection
2024-10-25 15:38:58 INFO | 192.168.0.172 | 200 | 1.4621ms | POST | 未登录 | /testData/import/finalReport

View File

@ -413,6 +413,9 @@ func FTEmptyInfoHandler(titleMap map[string]int, finalReportExcel *model.FinalRe
if _, ok := titleMap[finalReportExcel.Lot]; !ok {
info["lot"] = ""
} else if finalReportExcel.Lot != "" {
if strings.Contains(row[titleMap[finalReportExcel.Lot]], "-") {
row[titleMap[finalReportExcel.Lot]] = strings.Split(row[titleMap[finalReportExcel.Lot]], "-")[0]
}
info["lot"] = row[titleMap[finalReportExcel.Lot]]
}
finalReportExcel.TestProgram = strings.ReplaceAll(finalReportExcel.TestProgram, " ", "")