GAAS 广汽安道拓GFrame金属件MOM项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
1.1 KiB

package base
import (
"github.com/go-xorm/xorm"
"leit.com/LAPP_GAAS_GFrame/dao/base/implments"
"leit.com/LAPP_GAAS_GFrame/grmi"
model "leit.com/LAPP_GAAS_GFrame/models/base"
)
type AttributeGroupValstDAO interface {
//插入AttributeGroupValst
InsertOne(entity *model.AttributeGroupValst) error
//删除指定键的AttributeGroupValst
DeleteOne(attrCode int, attrGrpCode int) error
//查找指定键的AttributeGroupValst
SelectOne(attrCode int, attrGrpCode int) (*model.AttributeGroupValst, error)
//修改AttributeGroupValst
UpdateOne(entity *model.AttributeGroupValst) error
//按条件查询AttributeGroupValst
Select(predicates []grmi.Predicate, orderByFields []grmi.Field) ([]model.AttributeGroupValst, error)
//按条件查询AttributeGroupValst并分页
SelectAndPaging(paging *grmi.Paging, predicates []grmi.Predicate, orderByFields []grmi.Field) (grmi.PagingResult, error)
}
func NewAttributeGroupValstDAO(session *xorm.Session, plantNr int, userid string) AttributeGroupValstDAO {
return implments.NewAttributeGroupValstDAOImplement(session, plantNr, userid)
}