package supplierscenefile import ( . "dashoo.cn/backend/api/mydb" "github.com/go-xorm/xorm" ) type SupplierScenefileService struct { MyServiceBase } func GetSupplierScenefileService(xormEngine *xorm.Engine) *SupplierScenefileService { s := new(SupplierScenefileService) s.DBE = xormEngine return s } func (s *SupplierScenefileService) GetSceneFileList(supplierId string) (model OilSupplierSceneFile) { where := "SupplierId=" + supplierId s.GetEntity(&model, where) return model }