From f25e4908679a3ee4843796862cb4601f783f0a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 11 Mar 2021 09:39:32 +0800 Subject: [PATCH] aa --- business/jxstore/report/report.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/report/report.go b/business/jxstore/report/report.go index 610280ac4..638bd669f 100644 --- a/business/jxstore/report/report.go +++ b/business/jxstore/report/report.go @@ -8,6 +8,8 @@ import ( "strings" "time" + "git.rosy.net.cn/jx-callback/globals" + "git.rosy.net.cn/baseapi/platformapi/mtwmapi" "git.rosy.net.cn/jx-callback/business/jxutils" @@ -564,5 +566,6 @@ func CalculateCoverArea(coordinate []string, vendorID int) (area float64) { sum /= float64(2) sum = math.Abs(sum) sum = utils.Str2Float64(fmt.Sprintf("%.2f", sum)) + globals.SugarLogger.Debugf("CalculateCoverArea sum: []%v", sum) return sum }