This commit is contained in:
邹宗楠
2023-09-28 16:09:05 +08:00
parent 1c30384481
commit fb7d26063b
4 changed files with 3 additions and 5 deletions

View File

@@ -248,7 +248,6 @@ func (v *VendorSync) SyncStore2(ctx *jxcontext.Context, db *dao.DaoDB, vendorIDs
if len(loopMapInfo.StoreMapList) > 1 {
db2 = dao.GetDB()
}
globals.SugarLogger.Debugf("=========storeMap := %s", utils.Format4Output(storeMap, false))
if model.IsSyncStatusNew(storeMap.SyncStatus) {
storeDetail, _ := dao.GetStoreDetail(db, storeMap.StoreID, storeMap.VendorID, storeMap.VendorOrgCode)
if vendorStoreID, err = handler.CreateStore2(db2, storeMap.StoreID, userName, nil, storeDetail); err == nil {