|
@@ -1620,7 +1620,7 @@ func FindOrgInspectionReferenceRangeTypeValue(user_org_id int64, project_id int6
|
1620
|
1620
|
|
1621
|
1621
|
func FindOrgConfigRangeTypeValue(user_org_id int64, project_id int64, item_id int64) (qcs models.InspectionReference, err error) {
|
1622
|
1622
|
db := service.XTReadDB()
|
1623
|
|
- err = db.Model(&models.InspectionReference{}).Where("status = 1 AND org_id = ? AND project_id = ? AND id = ?", user_org_id, project_id, item_id).First(&qcs).Error
|
|
1623
|
+ err = db.Model(&models.InspectionReference{}).Where("status = 1 AND org_id = ? AND project_id = ? AND item_id = ?", user_org_id, project_id, item_id).First(&qcs).Error
|
1624
|
1624
|
return
|
1625
|
1625
|
}
|
1626
|
1626
|
|