Browse Source

修改测试代码

pull/192/head
zhangxin 2 years ago
parent
commit
d96a4d088a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      services/pln/implments/CustOrder.service.impl.go

+ 2
- 2
services/pln/implments/CustOrder.service.impl.go View File

@ -3031,8 +3031,8 @@ func (impl *CustOrderServiceImplement) SelectPic1(user *global.User, dayModel *b
productFamilyMap := make(map[string]*meModel.ProductFamily) productFamilyMap := make(map[string]*meModel.ProductFamily)
productFamilyRelateMap := make(map[string]map[string]interface{}) productFamilyRelateMap := make(map[string]map[string]interface{})
productFamilyMeterMap := make(map[string]float64) productFamilyMeterMap := make(map[string]float64)
//now := time.Now()
now, _ := time.ParseInLocation(grmi.DateTimeOutFormat, "2022-03-30 23:00:00", utils.TimezoneLocation)
now := time.Now()
//now, _ := time.ParseInLocation(grmi.DateTimeOutFormat, "2022-03-30 23:00:00", utils.TimezoneLocation)
endTime := now.Format(grmi.DateOutFormat) + " 23:59:59" endTime := now.Format(grmi.DateOutFormat) + " 23:59:59"
todayStart := now.Format(grmi.DateOutFormat) + " 00:00:00" todayStart := now.Format(grmi.DateOutFormat) + " 00:00:00"
dateTimeLi := make([]int, 0, now.Hour()) dateTimeLi := make([]int, 0, now.Hour())


Loading…
Cancel
Save