|
@@ -68,7 +68,7 @@ func GetResearchReportType(researchReportId, userId uint64, reportType string) (
|
|
|
for _, v := range reportChapterTypeList {
|
|
|
reportChapterTypeIdList = append(reportChapterTypeIdList, fmt.Sprint(v.ReportChapterTypeId))
|
|
|
}
|
|
|
- condition += ` and rct.report_chapter_type_id in ( ` + `) `
|
|
|
+ condition += ` and rct.report_chapter_type_id in (?) `
|
|
|
whereVals = append(whereVals, strings.Join(reportChapterTypeIdList, ","))
|
|
|
|
|
|
}
|