|
@@ -1061,8 +1061,8 @@ func (this *HisProjectApiController) GetHisPatientHistory() {
|
1061
|
1061
|
register_type, _ := this.GetInt64("register_type")
|
1062
|
1062
|
limit, _ := this.GetInt64("limit")
|
1063
|
1063
|
page, _ := this.GetInt64("page")
|
1064
|
|
- startTime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
|
1065
|
|
- endTime, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+" 23:59:59", loc)
|
|
1064
|
+ startTime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+":00", loc)
|
|
1065
|
+ endTime, _ := time.ParseInLocation(timeLayout+" 15:04:05", end_time+":59", loc)
|
1066
|
1066
|
adminUserInfo := this.GetAdminUserInfo()
|
1067
|
1067
|
orgId := adminUserInfo.CurrentOrgId
|
1068
|
1068
|
history, total, err := service.GetHisPatientHistory(keyword, startTime.Unix(), endTime.Unix(), register_type, limit, page, orgId)
|