Browse Source

提交代码

陈少旭 4 months ago
parent
commit
65ee3edafc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      service/statistics_service/index_evaluation_service.go

+ 1 - 0
service/statistics_service/index_evaluation_service.go View File

1964
 func FindOrgInspectionCount(user_org_id int64) (count int64, err error) {
1964
 func FindOrgInspectionCount(user_org_id int64) (count int64, err error) {
1965
 	db := service.XTReadDB()
1965
 	db := service.XTReadDB()
1966
 	err = db.Model(&models.InspectionReference{}).Where("status = 1 AND org_id = ?", user_org_id).Count(&count).Error
1966
 	err = db.Model(&models.InspectionReference{}).Where("status = 1 AND org_id = ?", user_org_id).Count(&count).Error
1967
+
1967
 	return
1968
 	return
1968
 }
1969
 }
1969
 
1970