14 lines
274 B
Go
14 lines
274 B
Go
package test_data
|
|
|
|
import (
|
|
"testData/global"
|
|
"testData/model"
|
|
)
|
|
|
|
func GetERPProduct() []string {
|
|
var fileHandleds []*model.FileHandled
|
|
var product []string
|
|
global.Oracle.Where("").Find(&fileHandleds).Select("product").Group("product").Find(&product)
|
|
return product
|
|
}
|