25 lines
585 B
Go
25 lines
585 B
Go
package repository
|
|
|
|
import (
|
|
"testData/global"
|
|
"testData/model"
|
|
)
|
|
|
|
// ChengTe 诚特
|
|
func ChengTe() {
|
|
var fileTexts []*model.FileText
|
|
global.PostGreSQL.Debug().
|
|
Where("factory = ?", "chengte").
|
|
Where("name LIKE ? AND name NOT LIKE ? AND name NOT LIKE ? AND name NOT LIKE ? AND name NOT LIKE ?",
|
|
"%FT%", "%FT_LV%", "%FT_EQC%", "%FT_QC%", "%FT_NT%").Find(&fileTexts)
|
|
//for _, fileText := range fileTexts {
|
|
//var step string
|
|
//if strings.Contains(fileText.Name, "RT") {
|
|
// step = "RT"
|
|
//} else {
|
|
// step = "FT"
|
|
//}
|
|
//test_data.HandlerTQT601Excel(fileText, step)
|
|
//}
|
|
}
|