sci_hq_data.go 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package request
  2. type AddBaseFromSciHqClassifyReq struct {
  3. ParentId int `description:"上级id"`
  4. ClassifyName string `description:"分类名称"`
  5. }
  6. // DelBaseFromSciHqReq 删除卓创红期分类
  7. type DelBaseFromSciHqClassifyReq struct {
  8. ClassifyId int `description:"分类id"`
  9. }
  10. // EditBaseFromSciClassifyReq 编辑卓创红期分类
  11. type EditBaseFromSciHqClassifyReq struct {
  12. ClassifyName string `description:"分类名称"`
  13. ClassifyId int `description:"分类id"`
  14. }
  15. // EditBaseFromSciHqReq 编辑卓创红期指标所属分类
  16. type EditBaseFromSciHqReq struct {
  17. BaseFromSciHqIndexId int `description:"指标id"`
  18. ClassifyId int `description:"分类id"`
  19. }
  20. // DelBaseFromSciHqReq 删除卓创红期指标
  21. type DelBaseFromSciHqReq struct {
  22. BaseFromSciHqIndexId int `description:"指标id"`
  23. }
  24. // ResetBaseFromSciHqReq 重置指标所属分类
  25. type ResetBaseFromSciHqReq struct {
  26. BaseFromSciHqIndexId int `description:"指标id"`
  27. }
  28. // SciHqDataBatchAddCheckReq 卓创红期指标批量添加校验
  29. type SciHqDataBatchAddCheckReq struct {
  30. // MysteelChemicalDataListReq
  31. IndexCodes []string `description:"指标编码"`
  32. }
  33. // SciHqDataBatchListReq 卓创红期指标批量列表
  34. type SciHqDataBatchListReq struct {
  35. ClassifyId int `description:"分类id"`
  36. KeyWord string `description:"关键字"`
  37. SelectedId []int `description:"已选指标id, 为true时表示反选"`
  38. IsSelectAll bool `description:"是否查询全部, 默认false, true:全选, false:查询已选"`
  39. }
  40. // MoveBaseFromSciHqClassifyReq 移动分类请求参数
  41. type MoveBaseFromSciHqClassifyReq struct {
  42. ClassifyId int `description:"分类id"`
  43. ParentId int `description:"父级分类id"`
  44. PrevClassifyId int `description:"上一个兄弟节点分类id"`
  45. NextClassifyId int `description:"下一个兄弟节点分类id"`
  46. }
  47. // MoveBaseFromSciHqReq 移动指标请求参数
  48. type MoveBaseFromSciHqReq struct {
  49. ClassifyId int `description:"分类id"`
  50. BaseFromSciHqIndexId int `description:"指标id"`
  51. PrevBaseFromSciHqIndexId int `description:"上一个兄弟节点id"`
  52. NextBaseFromSciHqIndexId int `description:"下一个兄弟节点id"`
  53. }
  54. // ExportSciHqExcelReq导出卓创红期excel指标
  55. type ExportSciHqExcelReq struct {
  56. KeyWord string `description:"关键字, 指标编码或指标ID"`
  57. IndexCode []string `description:"指标编码,全选时,表示反选"`
  58. IsSelectedAll bool `description:"是否全选:true:全选|false: 无"`
  59. ClassifyId int `description:"指标id"`
  60. }