Browse Source

Merge branch 'xt_statistics_branch' of http://git.shengws.com/csx/XT_New into xt_statistics_branch

XMLWAN 4 years ago
parent
commit
95f2ea3830
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

@@ -1402,6 +1402,7 @@ func FindOrgInspectionCount(user_org_id int64) (count int64, err error) {
1402 1402
 func FindOrgInspectionReference(user_org_id int64, range_type int) (references []*models.InspectionReference, err error) {
1403 1403
 	db := service.XTReadDB()
1404 1404
 	if range_type == 1 {
1405
+
1405 1406
 		err = db.Model(&models.InspectionReference{}).Where("status = 1 AND org_id = ? AND range_type = 1 AND range_max REGEXP '([^0-9.])' AND range_min REGEXP '([^0-9.])' ", user_org_id).Find(&references).Error
1406 1407
 
1407 1408
 	} else {