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

View File

@@ -2150,6 +2150,9 @@ func TmpGetJxBadCommentsByStoreId(ctx *jxcontext.Context, keyword string, storeI
defer func() {
dao.Rollback(db, txDB)
}()
globals.SugarLogger.Debugf("---------sql-- := %s", sql)
globals.SugarLogger.Debugf("---------sqlParams-- := %s", utils.Format4Output(sqlParams, false))
if err = dao.GetRowsTx(txDB, &commentList, sql, sqlParams...); err == nil {
retVal = map[string]interface{}{
"total": dao.GetLastTotalRowCount2(db, txDB),

View File

@@ -119,7 +119,6 @@ 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)
}