|
@@ -1371,7 +1371,7 @@ func GetPsnByPatientId(patient_id int64) (psn models.HisPsn, err error) {
|
1371
|
1371
|
}
|
1372
|
1372
|
|
1373
|
1373
|
func GetAllHisOrder(org_id int64) (his []*models.HisOrder, err error) {
|
1374
|
|
- err = readDb.Model(&models.HisOrder{}).Where("user_org_id = ? AND status = 1 AND id > 66708 AND order_status = 2 AND setl_id <> '' AND fa_piao_code <> '' ", org_id).Order("setl_time asc").Find(&his).Error
|
|
1374
|
+ 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
|
1375
|
1375
|
return
|
1376
|
1376
|
}
|
1377
|
1377
|
func GetAllHisOrderErr(org_id int64, stage int64) (his []*models.HisOrderError, err error) {
|