2 Commits 466f410bc0 ... 10c2d9d3fb

Author SHA1 Message Date
  陈少旭 10c2d9d3fb Merge branch '20230223_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20230223_xt_api_new_branch 1 week ago
  陈少旭 b49724feae 提交代码 1 week ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/his_service.go

+ 1 - 1
service/his_service.go View File

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