|
@@ -3,7 +3,6 @@ package models
|
|
|
import (
|
|
|
"fmt"
|
|
|
"github.com/beego/beego/v2/client/orm"
|
|
|
- "github.com/shopspring/decimal"
|
|
|
"hongze/hongze_edb_lib/utils"
|
|
|
"reflect"
|
|
|
"strconv"
|
|
@@ -100,8 +99,7 @@ func RefreshEdbDataFromLt(edbInfoId int, edbCode, startDate string, ltDataList m
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
- saveValue := decimal.NewFromFloat(sValue).Round(4).String()
|
|
|
- //saveValue := utils.SubFloatToString(sValue, 30)
|
|
|
+ saveValue := utils.SubFloatToString(sValue, 30)
|
|
|
if findItem, ok := existMap[eDate]; !ok {
|
|
|
timestamp := dataTime.UnixNano() / 1e6
|
|
|
timeStr := fmt.Sprintf("%d", timestamp)
|