edb_info_refresh.go 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package request
  2. // SaveEdbRefreshDefaultConfigReq
  3. // @Description: 设置默认刷新时间配置
  4. type SaveEdbRefreshDefaultConfigReq struct {
  5. Source int `description:"来源"`
  6. SubSource int `description:"子来源"`
  7. Frequency string `description:"频度"`
  8. List []RefreshConfigReq `description:"刷新配置项"`
  9. }
  10. // RefreshConfigReq
  11. // @Description: 刷新时间配置项
  12. type RefreshConfigReq struct {
  13. RefreshFrequency string `description:"刷新频率"`
  14. RefreshFrequencyDay int `description:"具体刷新的日期"`
  15. RefreshTime string `description:"刷新时间"`
  16. RefreshAllData int `description:"是否刷新所有数据,0:否,1:刷新所有数据"`
  17. RefreshDataNum int `description:"刷新单元格数"`
  18. }
  19. // SaveEdbRefreshConfigReq
  20. // @Description: 设置指标的刷新时间配置
  21. type SaveEdbRefreshConfigReq struct {
  22. Source int `description:"来源"`
  23. SubSource int `description:"子来源"`
  24. ClassifyId int `description:"分类id"`
  25. TerminalCode string `description:"终端编码"`
  26. SysUserId string `description:"操作人id"`
  27. Frequency string `description:"频度"`
  28. Keyword string `description:"关键字"`
  29. Status string `description:"状态,枚举值:启用、暂停"`
  30. IsSelectAll bool `description:"是否选择所有指标"`
  31. EdbSelectIdList []int `description:"选择的指标id列表"`
  32. List []RefreshConfigReq `description:"刷新配置项"`
  33. }
  34. // SaveEdbRefreshStatusReq
  35. // @Description: 设置指标的刷新状态
  36. type SaveEdbRefreshStatusReq struct {
  37. Source int `description:"来源"`
  38. SubSource int `description:"子来源"`
  39. ClassifyId int `description:"分类id"`
  40. TerminalCode string `description:"终端编码"`
  41. SysUserId string `description:"操作人id"`
  42. Frequency string `description:"频度"`
  43. Keyword string `description:"关键字"`
  44. Status string `description:"状态,枚举值:启用、暂停"`
  45. IsSelectAll bool `description:"是否选择所有指标"`
  46. EdbSelectIdList []int `description:"选择的指标id列表"`
  47. ModifyStatus string `description:"需要更改的状态,枚举值:启用、暂停"`
  48. }
  49. // GetEdbRefreshConfigReq
  50. // @Description: 获取默认配置的请求参数
  51. type GetEdbRefreshConfigReq struct {
  52. Source int `description:"指标来源ID"`
  53. SubSource int `description:"子来源"`
  54. }