|
@@ -4654,9 +4654,8 @@ func (c *DialysisAPIController) GetPatientDialysisRecordList() {
|
4654
|
4654
|
endTime := nowTime.AddDate(-1, 0, 0)
|
4655
|
4655
|
endTimes := endTime.Format("2006-01-02")
|
4656
|
4656
|
endtime, _ := time.ParseInLocation(timeLayout+" 15:04:05", endTimes+" 00:00:00", loc)
|
4657
|
|
- adminUserInfo := c.GetAdminUserInfo()
|
4658
|
|
- orgId := adminUserInfo.CurrentOrgId
|
4659
|
|
- list, _ := service.GetPatientDialysisRecordList(id, startime.Unix(), endtime.Unix(), orgId)
|
|
4657
|
+
|
|
4658
|
+ list, _ := service.GetPatientDialysisRecordList(id, endtime.Unix(), startime.Unix())
|
4660
|
4659
|
c.ServeSuccessJSON(map[string]interface{}{
|
4661
|
4660
|
"list": list,
|
4662
|
4661
|
})
|