2 Incheckningar 466f410bc0 ... 10c2d9d3fb

Upphovsman SHA1 Meddelande Datum
  陈少旭 10c2d9d3fb Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20230223_xt_api_new_branch 2 veckor sedan
  陈少旭 b49724feae 提交代码 2 veckor sedan
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      service/his_service.go

+ 1 - 1
service/his_service.go Visa fil

@@ -1743,7 +1743,7 @@ func GetHisPrescriptionByType(change_type int64, record_time int64, org_id int64
1743 1743
 	return
1744 1744
 }
1745 1745
 
1746
-func GetCallHisPrescriptions(start_time int64, end_time int64, org_id int64, patient_id int64, p_type int64) (advice []*VMOtherHisPrescriptionInfo, err error) {
1746
+func GetCallHisPrescriptions(start_time int64, end_time int64, org_id int64, patient_id int64, p_type int64) (advice []VMOtherHisPrescriptionInfo, err error) {
1747 1747
 	err = readDb.Model(&VMOtherHisPrescriptionInfo{}).Where("patient_id = ? AND user_org_id = ? AND  status=1 AND record_date >= ? AND record_date <= ? AND p_type = ?", patient_id, org_id, start_time, end_time, p_type).
1748 1748
 		Preload("VMHisPrescription", func(db *gorm.DB) *gorm.DB {
1749 1749
 			return db.Where("status = 1 AND user_org_id = ?", org_id).