1
This commit is contained in:
@@ -1717,7 +1717,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// globals.SugarLogger.Debug(utils.Format4Output(valid, false))
|
globals.SugarLogger.Debug("==============2525", utils.Format4Output(valid, false))
|
||||||
if len(valid) > 0 {
|
if len(valid) > 0 {
|
||||||
txDB, _ := dao.Begin(db)
|
txDB, _ := dao.Begin(db)
|
||||||
defer func() {
|
defer func() {
|
||||||
@@ -1743,6 +1743,8 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
|||||||
dao.Rollback(db, txDB)
|
dao.Rollback(db, txDB)
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
globals.SugarLogger.Debug("==============num", num)
|
||||||
|
|
||||||
if num > 0 {
|
if num > 0 {
|
||||||
if globals.IsAddEvent {
|
if globals.IsAddEvent {
|
||||||
mapBefore := refutil.FindMapAndStructMixed(valid, beforeStoreMap)
|
mapBefore := refutil.FindMapAndStructMixed(valid, beforeStoreMap)
|
||||||
|
|||||||
Reference in New Issue
Block a user