Browse Source

Merge branch '20201014_xt_api_new_branch' of http://git.shengws.com/csx/XT_New into 20201014_xt_api_new_branch

XMLWAN 4 years ago
parent
commit
377378c56e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      controllers/mobile_api_controllers/dialysis_api_controller.go

+ 3 - 1
controllers/mobile_api_controllers/dialysis_api_controller.go View File

@@ -4643,13 +4643,15 @@ func (c *DialysisAPIController) BatchDeleteMonitor() {
4643 4643
 }
4644 4644
 
4645 4645
 func (c *DialysisAPIController) GetPatientDialysisRecordList() {
4646
-
4646
+	
4647 4647
 	id, _ := c.GetInt64("id")
4648 4648
 	fmt.Println(id)
4649 4649
 	timeLayout := "2006-01-02"
4650 4650
 	loc, _ := time.LoadLocation("Local")
4651 4651
 	start_time := time.Now().Format("2006-01-02")
4652
+	
4652 4653
 	startime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
4654
+	fmt.Println("start_timestart_time",start_time)
4653 4655
 	nowTime := time.Now()
4654 4656
 	endTime := nowTime.AddDate(-1, 0, 0)
4655 4657
 	endTimes := endTime.Format("2006-01-02")