修改SetMTPSStatus方法的名字判断

This commit is contained in:
平凡梦
2020-07-13 11:28:35 +08:00
parent c54ddb01e3
commit bb05911858

View File

@@ -1353,6 +1353,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
return
}
ifExist:
{
if StoreInfoList.DataList[0].OuterPoiID != "" {
//若存在且名字不为空,就是找到了
if StoreInfoList.DataList[0].OpenType != courierStatus {
@@ -1365,6 +1366,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
UpdateStoreCourierMap(ctx, nil, storeId, model.VendorIDMTPS, sl, ctx.GetUserName())
}
}
}
} else {
StoreInfoList, _ := api.MtpsAPI.GetStoreStatusAll()
StoreInfoList2 := make(map[string]string)