This commit is contained in:
邹宗楠
2024-08-16 15:16:54 +08:00
parent 565edaab11
commit ce8165d703
3 changed files with 11 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
}
if len(foodNameList) > 0 {
vendorOrderID, _ := dao.GetBadCommentOrderId(storeDetail.ID, utils.Str2Time(startDateStr), utils.Str2Time(endDateStr), nameList)
vendorOrderID, _ := dao.GetBadCommentOrderId(storeDetail.ID, time.Now().Add(-RefreshCommentTime), startTime, nameList)
if vendorOrderID != "" {
orderComment.VendorOrderID2 = vendorOrderID
}

View File

@@ -588,14 +588,7 @@ func (p *PurchaseHandler) UpdateStoreSkusStatus(ctx *jxcontext.Context, vendorOr
}
param.ParamList = &updateSkuList
if vendorStoreID == "JX668428" {
globals.SugarLogger.Debugf("============UpdateStoreSkusStatus := %s", utils.Format4Output(param, false))
}
result, err := api.UpdateStoreSku(param)
if vendorStoreID == "JX668428" {
globals.SugarLogger.Debugf("============result := %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("============result := %v", err)
}
if err != nil {
globals.SugarLogger.Debugf("UpdateStoreSku Tao Vegetable err : %s", err.Error())
}