clarksons_data.go 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package request
  2. type AddBaseFromClarksonsClassifyReq struct {
  3. ParentId int `description:"上级id"`
  4. ClassifyName string `description:"分类名称"`
  5. }
  6. // DelBaseFromClarksonsReq 删除卓创红期分类
  7. type DelBaseFromClarksonsClassifyReq struct {
  8. BaseFromClassifyId int `description:"分类id"`
  9. }
  10. // EditBaseFromSciClassifyReq 编辑卓创红期分类
  11. type EditBaseFromClarksonsClassifyReq struct {
  12. ClassifyName string `description:"分类名称"`
  13. BaseFromClassifyId int `description:"分类id"`
  14. }
  15. // EditBaseFromClarksonsReq 编辑卓创红期指标所属分类
  16. type EditBaseFromClarksonsReq struct {
  17. BaseFromClarksonsIndexId int `description:"指标id"`
  18. BaseFromClassifyId int `description:"分类id"`
  19. }
  20. // DelBaseFromClarksonsReq 删除卓创红期指标
  21. type DelBaseFromClarksonsReq struct {
  22. BaseFromClarksonsIndexId int `description:"指标id"`
  23. }
  24. // ResetBaseFromClarksonsReq 重置指标所属分类
  25. type ResetBaseFromClarksonsReq struct {
  26. BaseFromClarksonsIndexId int `description:"指标id"`
  27. }
  28. // ClarksonsDataBatchAddCheckReq 卓创红期指标批量添加校验
  29. type ClarksonsDataBatchAddCheckReq struct {
  30. // MysteelChemicalDataListReq
  31. IndexCodes []string `description:"指标编码"`
  32. }
  33. // ClarksonsDataBatchListReq 卓创红期指标批量列表
  34. type ClarksonsDataBatchListReq struct {
  35. ClassifyIds string `description:"分类id"`
  36. KeyWord string `description:"关键字"`
  37. Frequencies string `description:"频度"`
  38. SelectedId []int `description:"已选指标id, 为true时表示反选"`
  39. IsSelectAll bool `description:"是否查询全部, 默认false, true:全选, false:查询已选"`
  40. PageSize int `description:"每页条数"`
  41. CurrentIndex int `description:"当前页"`
  42. }
  43. // MoveBaseFromClarksonsClassifyReq 移动分类请求参数
  44. type MoveBaseFromClarksonsClassifyReq struct {
  45. BaseFromClassifyId int `description:"分类id"`
  46. ParentClassifyId int `description:"父级分类id"`
  47. PrevClassifyId int `description:"上一个兄弟节点分类id"`
  48. NextClassifyId int `description:"下一个兄弟节点分类id"`
  49. }
  50. // MoveBaseFromClarksonsReq 移动指标请求参数
  51. type MoveBaseFromClarksonsReq struct {
  52. BaseFromClassifyId int `description:"分类id"`
  53. BaseFromClarksonsIndexId int `description:"指标id"`
  54. PrevBaseFromClarksonsIndexId int `description:"上一个兄弟节点id"`
  55. NextBaseFromClarksonsIndexId int `description:"下一个兄弟节点id"`
  56. }
  57. // ExportClarksonsExcelReq导出卓创红期excel指标
  58. type ExportClarksonsExcelReq struct {
  59. KeyWord string `description:"关键字, 指标编码或指标ID"`
  60. IndexCode []string `description:"指标编码,全选时,表示反选"`
  61. IsSelectedAll bool `description:"是否全选:true:全选|false: 无"`
  62. BaseFromClassifyId int `description:"指标id"`
  63. }