This commit is contained in:
邹宗楠
2025-05-16 10:42:02 +08:00
parent 958a39db30
commit 25079ae303
2 changed files with 1 additions and 3 deletions

View File

@@ -1,9 +1,7 @@
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"
@@ -99,7 +97,6 @@ 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

View File

@@ -119,6 +119,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
vendorOrderID, _ = dao.GetBadCommentOrderId(storeDetail.ID, time.Now().Add(-RefreshCommentTime), startTime, nil, skuIdList)
orderComment.VendorOrderID2 = vendorOrderID
}
globals.SugarLogger.Debugf("---------VendorOrderID2-- := %s", utils.Format4Output(orderComment.VendorOrderID2, false))
}
orderCommentList = append(orderCommentList, orderComment)
}