Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
d967dc9880
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/his_service.go

+ 1 - 1
service/his_service.go View File

@@ -1364,6 +1364,6 @@ func GetPsnByPatientId(patient_id int64) (psn models.HisPsn, err error) {
1364 1364
 }
1365 1365
 
1366 1366
 func GetAllHisOrder(org_id int64) (his []*models.HisOrder, err error) {
1367
-	err = readDb.Model(&models.HisOrder{}).Where("user_org_id = ? AND status = 1 AND order_status = 2 AND setl_id <> ''", org_id).Order("setl_time asc").Find(&his).Error
1367
+	err = readDb.Model(&models.HisOrder{}).Where("user_org_id = ? AND status = 1 AND order_status = 2 AND setl_id <> '' AND id >= 1755", org_id).Order("setl_time asc").Find(&his).Error
1368 1368
 	return
1369 1369
 }