package base import ( model "leit.com/LAPP_GAAS_GFrame/models/base" "leit.com/LAPP_GAAS_GFrame/services/base/implments" "leit.com/LAPP_GAAS_GFrame/web/models" ) type AttributeService interface { Select(map[string]string, *models.Usertab) (interface{}, error) InsertOne(*models.Usertab, *model.Attribute) error DeleteOne(*models.Usertab, int) error SelectOne(*models.Usertab, int) (*model.Attribute, error) UpdateOne(*models.Usertab, *model.Attribute) error } func NewAttributeService() AttributeService { return implments.NewAttributeServiceImplement() }