Browse Source

耗材参数

XMLWAN 4 years ago
parent
commit
7fdaa7d79a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/self_drug_api_congtroller.go

+ 1 - 1
controllers/self_drug_api_congtroller.go View File

@@ -647,7 +647,7 @@ func (this *SelfDrugApiController) GetAllPatientStockList() {
647 647
 	theTime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
648 648
 	startUnix := theTime.Unix()
649 649
 	end_time := this.GetString("end_time")
650
-	endTimes, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+" 00:00:00", loc)
650
+	endTimes, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+" 23:59:59", loc)
651 651
 	endTimeUnix := endTimes.Unix()
652 652
 	keywords := this.GetString("search_input")
653 653
 	adminUserInfo := this.GetAdminUserInfo()