فهرست منبع

fix:报告权限调整

Roc 3 سال پیش
والد
کامیت
d22566c806
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)
 
 		}