2 次程式碼提交 466f410bc0 ... 10c2d9d3fb

作者 SHA1 備註 提交日期
  陈少旭 10c2d9d3fb Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20230223_xt_api_new_branch 2 週之前
  陈少旭 b49724feae 提交代码 2 週之前
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      service/his_service.go

+ 1 - 1
service/his_service.go 查看文件

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