소스 검색

提交代码

陈少旭 1 년 전
부모
커밋
9a246af2d4
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      controllers/his_summary_controller.go
  2. 1 0
      service/his_summary_service.go

+ 2 - 0
controllers/his_summary_controller.go 파일 보기

@@ -643,6 +643,8 @@ func (this *HisSummaryApiController) GetHisOrderList() {
643 643
 	patient_id, _ := this.GetInt64("patient_id")
644 644
 	start_time := this.GetString("start_time")
645 645
 	end_time := this.GetString("end_time")
646
+	//med_type := this.GetString("med_type")
647
+
646 648
 	timeLayout := "2006-01-02"
647 649
 	loc, _ := time.LoadLocation("Local")
648 650
 	startTime, err := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)

+ 1 - 0
service/his_summary_service.go 파일 보기

@@ -382,6 +382,7 @@ func GetOrderInfoList(patient_id int64, startime int64, endtime int64, orgid int
382 382
 	if startime > 0 {
383 383
 		db = db.Where("upload_date >= ?", startime)
384 384
 	}
385
+
385 386
 	if endtime > 0 {
386 387
 		db = db.Where("upload_date<=?", endtime)
387 388
 	}