|
@@ -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) {
|