|
|
|
|
186
|
loc, _ := time.LoadLocation("Local")
|
186
|
loc, _ := time.LoadLocation("Local")
|
187
|
start_time := this.GetString("startime")
|
187
|
start_time := this.GetString("startime")
|
188
|
startime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
|
188
|
startime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 00:00:00", loc)
|
189
|
- fmt.Println("开始时间", startime)
|
|
|
190
|
endtime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 23:59:59", loc)
|
189
|
endtime, _ := time.ParseInLocation(timeLayout+" 15:04:05", start_time+" 23:59:59", loc)
|
191
|
- fmt.Println("结束时间", endtime)
|
|
|
192
|
orgId := this.GetAdminUserInfo().CurrentOrgId
|
190
|
orgId := this.GetAdminUserInfo().CurrentOrgId
|
193
|
material, err := service.GetAllMaterial(startime.Unix(), endtime.Unix(), orgId)
|
191
|
material, err := service.GetAllMaterial(startime.Unix(), endtime.Unix(), orgId)
|
194
|
if err == nil {
|
192
|
if err == nil {
|