From 48af077a19fb698ab5e7836e3cfea9e33c1327da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 May 2025 10:11:59 +0800 Subject: [PATCH] 1 --- business/model/dao/dao_order_sku_financial.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/business/model/dao/dao_order_sku_financial.go b/business/model/dao/dao_order_sku_financial.go index 41933f53f..c1677df42 100644 --- a/business/model/dao/dao_order_sku_financial.go +++ b/business/model/dao/dao_order_sku_financial.go @@ -1,7 +1,9 @@ package dao import ( + "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/model" + "git.rosy.net.cn/jx-callback/globals" "git.rosy.net.cn/jx-print/dao" "sort" "time" @@ -29,6 +31,8 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL sqlParams = append(sqlParams, skuList) } + globals.SugarLogger.Debugf("--------sql := %s", sql) + globals.SugarLogger.Debugf("--------sqlParams := %s", utils.Format4Output(sqlParams, false)) commentOrder := make([]*badCommentOrder, 0, 0) if err := GetRows(GetDB(), &commentOrder, sql, sqlParams...); err != nil { return "", err @@ -97,6 +101,7 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL } return false }) + globals.SugarLogger.Debugf("---------mathProbability-- := %s", utils.Format4Output(mathProbability, false)) for k, v := range mathProbability { if v == values[0] { return k, nil