Browse Source

Merge pull request '修改测试代码' (#192) from feature_om into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_Acura_MES_Backend/pulls/192
pull/193/head
娄文智 2 years ago
parent
commit
9694a366e9
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

@ -3034,8 +3034,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