新增store_courier_map表vendor_status字段,并更新为美团营业状态
This commit is contained in:
@@ -1288,6 +1288,7 @@ func SetMTPSStatus(ctx *jxcontext.Context) {
|
|||||||
sl := make(map[string]interface{})
|
sl := make(map[string]interface{})
|
||||||
sl["vendorStoreID"] = StoreInfoList11.OuterPoiID
|
sl["vendorStoreID"] = StoreInfoList11.OuterPoiID
|
||||||
sl["status"] = StoreInfoList11.OpenType
|
sl["status"] = StoreInfoList11.OpenType
|
||||||
|
sl["vendorStatus"] = StoreInfoList11.OpenType
|
||||||
globals.SugarLogger.Debugf("被修改配送状态的VendorStoreID是:%s,名称是:%s,美团状态是:%s,本地状态是:%s",
|
globals.SugarLogger.Debugf("被修改配送状态的VendorStoreID是:%s,名称是:%s,美团状态是:%s,本地状态是:%s",
|
||||||
StoreInfoList11.OuterPoiID, StoreInfoList11.PoiName, strconv.Itoa(StoreInfoList11.OpenType), strconv.Itoa(StoreCourierList1.Status))
|
StoreInfoList11.OuterPoiID, StoreInfoList11.PoiName, strconv.Itoa(StoreInfoList11.OpenType), strconv.Itoa(StoreCourierList1.Status))
|
||||||
UpdateStoreCourierMap(ctx, nil, StoreCourierList1.StoreID, StoreCourierList1.VendorID, sl, ctx.GetUserName())
|
UpdateStoreCourierMap(ctx, nil, StoreCourierList1.StoreID, StoreCourierList1.VendorID, sl, ctx.GetUserName())
|
||||||
|
|||||||
Reference in New Issue
Block a user