Browse Source

提交代码

陈少旭 4 months ago
parent
commit
bec650732e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/patient_service.go

+ 1 - 1
service/patient_service.go View File

@@ -1664,7 +1664,7 @@ func MobileGetMonitorsWithPatient(orgID int64, keyword string, page int) ([]*mod
1664 1664
 }
1665 1665
 
1666 1666
 func GetPatientByKeyWord(orgID int64, keywords string) (patient []*models.Patients, err error) {
1667
-	db := readDb.Model(&models.Patients{}).Where("user_org_id=? and status=1", orgID)
1667
+	db := readDb.Model(&models.Patients{}).Where("user_org_id=? and status=1 and  lapseto = 1", orgID)
1668 1668
 
1669 1669
 	if len(keywords) > 0 {
1670 1670
 		likekey := "%" + keywords + "%"