despatchConfigServices.go 485 B

12345678910111213141516
  1. package services
  2. import (
  3. "fwh-toolbox-server/dto"
  4. "fwh-toolbox-server/repositories"
  5. )
  6. // 查询模版列表
  7. func GetTouTemplateProList(pageNum uint, pageSize uint, tempType *int, status *int, search string) (*dto.ResPage[interface{}], error) {
  8. return repositories.QueryTouTemplateInfoList(search, pageSize, pageNum, tempType, status)
  9. }
  10. // 查询模版信息
  11. func GetTouTemplateProDetailInfo(id uint) (*interface{}, error) {
  12. return repositories.QueryTouTemplateDetailInfo(id)
  13. }