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
977 B

  1. package log
  2. import (
  3. "github.com/go-xorm/xorm"
  4. "leit.com/LAPP_GAAS_GFrame/dao/log/implments"
  5. "leit.com/LAPP_GAAS_GFrame/grmi"
  6. model "leit.com/LAPP_GAAS_GFrame/models/log"
  7. )
  8. type VendorUserLstDAO interface {
  9. //插入VendorUserLst
  10. InsertOne(entity *model.VendorUserLst) error
  11. //删除指定键的VendorUserLst
  12. DeleteOne(vendorId string) error
  13. //查找指定键的VendorUserLst
  14. SelectOne(vendorId string) (*model.VendorUserLst, error)
  15. //修改VendorUserLst
  16. UpdateOne(entity *model.VendorUserLst) error
  17. //按条件查询VendorUserLst
  18. Select(predicates []grmi.Predicate, orderByFields []grmi.Field) ([]model.VendorUserLst, error)
  19. //按条件查询VendorUserLst并分页
  20. SelectAndPaging(paging *grmi.Paging, predicates []grmi.Predicate, orderByFields []grmi.Field) (grmi.PagingResult, error)
  21. }
  22. func NewVendorUserLstDAO(session *xorm.Session, plantNr int, userid string) VendorUserLstDAO {
  23. return implments.NewVendorUserLstDAOImplement(session, plantNr, userid)
  24. }