aa
This commit is contained in:
@@ -5396,6 +5396,7 @@ func StoreSkuPriceAudit(ctx *jxcontext.Context, storeSkuAudits []*model.StoreSku
|
||||
//如果是关注改价
|
||||
if storeAudits[0].Type == model.StoreSkuAuditTypeFocus {
|
||||
skuBindInfos[0].IsFocus = 1
|
||||
skuBindInfos[0].IsSale = 1
|
||||
}
|
||||
var num int64
|
||||
db := dao.GetDB()
|
||||
|
||||
@@ -300,8 +300,8 @@ func QueryActs(db *DaoDB, actID int, offset, pageSize int, syncStatus int, keywo
|
||||
}
|
||||
}()
|
||||
// globals.SugarLogger.Debug(sql)
|
||||
if err = GetRowsTx(txDB, &idList, sql, sqlParams...); err != nil || len(idList) == 0 {
|
||||
//Rollback(db, txDB)
|
||||
if err = GetRowsTx(txDB, &idList, sql, sqlParams...); err != nil {
|
||||
Rollback(db, txDB)
|
||||
return pagedInfo, err
|
||||
}
|
||||
pagedInfo.TotalCount = GetLastTotalRowCount2(db, txDB)
|
||||
|
||||
Reference in New Issue
Block a user