This commit is contained in:
邹宗楠
2024-03-26 18:32:33 +08:00
parent 416b677744
commit 4c0d5015c0

View File

@@ -1847,7 +1847,10 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
}
// 增加门店地址修改同步
globals.SugarLogger.Debugf("========storeMap := %s", utils.Format4Output(storeMap, false))
storeDetail, err := dao.GetStoreBaseByVendorStoreID(storeMap.VendorStoreID, storeMap.VendorID)
globals.SugarLogger.Debugf("========storeDetail := %s", utils.Format4Output(storeDetail, false))
globals.SugarLogger.Debugf("========err := %v", err)
address := ""
if err != nil || storeDetail == nil {
return 0, fmt.Errorf("基础门店信息异常,请联系管理员")