修改SetMTPSStatus方法的名字判断
This commit is contained in:
@@ -1353,6 +1353,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
ifExist:
|
ifExist:
|
||||||
|
{
|
||||||
if StoreInfoList.DataList[0].OuterPoiID != "" {
|
if StoreInfoList.DataList[0].OuterPoiID != "" {
|
||||||
//若存在且名字不为空,就是找到了
|
//若存在且名字不为空,就是找到了
|
||||||
if StoreInfoList.DataList[0].OpenType != courierStatus {
|
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())
|
UpdateStoreCourierMap(ctx, nil, storeId, model.VendorIDMTPS, sl, ctx.GetUserName())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
StoreInfoList, _ := api.MtpsAPI.GetStoreStatusAll()
|
StoreInfoList, _ := api.MtpsAPI.GetStoreStatusAll()
|
||||||
StoreInfoList2 := make(map[string]string)
|
StoreInfoList2 := make(map[string]string)
|
||||||
|
|||||||
Reference in New Issue
Block a user