This commit is contained in:
邹宗楠
2024-03-27 10:22:28 +08:00
parent 4c0d5015c0
commit 5af6ed3c70
3 changed files with 27 additions and 4 deletions

View File

@@ -1847,10 +1847,7 @@ 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("基础门店信息异常,请联系管理员")