apply.go 867 B

1234567891011121314151617181920
  1. package services
  2. import (
  3. "project_management/app/e"
  4. "project_management/app/model"
  5. "project_management/unity"
  6. )
  7. type Apply interface {
  8. AddApply(apply model.Apply) e.Rescode
  9. GetApplyList(params unity.QueryPageParams, apply model.Apply, queryCond string) (result []model.Apply, total int64, err error)
  10. UserUpdateApply(apply model.Apply) e.Rescode
  11. GetApplyById(appid string) (model.Apply, error)
  12. QueryApplyByAppName(appName, phone string) ([]model.Apply, error)
  13. GetApplyAminList(params unity.QueryPageParams, apply model.Apply, queryCond string) (result []model.AppDto, total int64, err error)
  14. ApplyAddCap(applycap model.ApplyCapabilities) e.Rescode
  15. UpDateApplyCap(applycap model.ApplyCapabilities) e.Rescode
  16. CollectionList(params unity.QueryPageParams, apply model.Apply, queryCond string) (result []model.AppDto, total int64, err error)
  17. Check() bool
  18. }