Browse Source

fix:sql scan类型转换bug修复

Roc 3 years ago
parent
commit
3dda360a40
1 changed files with 5 additions and 5 deletions
  1. 5 5
      models/tables/company_report_permission/custom_query.go

+ 5 - 5
models/tables/company_report_permission/custom_query.go

@@ -33,17 +33,17 @@ func GetReportVarietyList(userId uint64, reportType string) (list []*ReportChapt
 }
 
 type ResearchReportTypeList struct {
-	ResearchReportTypeId    int
-	ResearchReportId        int
+	ResearchReportTypeId    uint64
+	ResearchReportId        uint64
 	ResearchReportTypeTitle string
 	TypeId                  int
-	Edit                    int
-	Trend                   int
+	Edit                    int8
+	Trend                   string
 	ReportChapterTypeKey    string
 	ReportChapterTypeThumb  string
 	BannerUrl               string
 	ReportChapterTypeName   string
-	Sort                    string
+	Sort                    int
 	EditImgUrl              string
 	PauseStartTime          time.Time
 	PauseEndTime            time.Time