新增store_courier_map表vendor_status字段,并更新为美团营业状态

This commit is contained in:
qidongsheng
2020-07-02 17:28:41 +08:00
parent 00edc9ac22
commit 61df974d7b

View File

@@ -1288,6 +1288,7 @@ func SetMTPSStatus(ctx *jxcontext.Context) {
sl := make(map[string]interface{})
sl["vendorStoreID"] = StoreInfoList11.OuterPoiID
sl["status"] = StoreInfoList11.OpenType
sl["vendorStatus"] = StoreInfoList11.OpenType
globals.SugarLogger.Debugf("被修改配送状态的VendorStoreID是:%s,名称是:%s,美团状态是:%s,本地状态是:%s",
StoreInfoList11.OuterPoiID, StoreInfoList11.PoiName, strconv.Itoa(StoreInfoList11.OpenType), strconv.Itoa(StoreCourierList1.Status))
UpdateStoreCourierMap(ctx, nil, StoreCourierList1.StoreID, StoreCourierList1.VendorID, sl, ctx.GetUserName())