Browse Source

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

csx 3 years ago
parent
commit
88979462c8
2 changed files with 749 additions and 748 deletions
  1. 748 747
      controllers/sg/his_api_controller.go
  2. 1 1
      service/his_service.go

File diff suppressed because it is too large
+ 748 - 747
controllers/sg/his_api_controller.go


+ 1 - 1
service/his_service.go View File

@@ -1364,7 +1364,7 @@ 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 <> '' AND id > 35355 AND  fa_piao_code <> ''", 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  fa_piao_code <> ''", org_id).Order("setl_time asc").Find(&his).Error
1368 1368
 	return
1369 1369
 }
1370 1370
 func GetAllHisOrderErr(org_id int64, stage int64) (his []*models.HisOrderError, err error) {