Explorar el Código

Merge remote-tracking branch 'origin/yb/1.1'

Roc hace 3 años
padre
commit
e0df4d1254
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      models/tables/company_report_permission/custom_query.go

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

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