瀏覽代碼

提交代码

陈少旭 1 月之前
父節點
當前提交
65ee3edafc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      service/statistics_service/index_evaluation_service.go

+ 1 - 0
service/statistics_service/index_evaluation_service.go 查看文件

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