From 26f059f55124470a57554e0941d6be4cc72bbbdc Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期三, 27 三月 2024 17:28:00 +0800 Subject: [PATCH] no message --- CoreCms.Net.Repository/Shop/CoreCmsStoreRepository.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CoreCms.Net.Repository/Shop/CoreCmsStoreRepository.cs b/CoreCms.Net.Repository/Shop/CoreCmsStoreRepository.cs index 025f060..79aa5ed 100644 --- a/CoreCms.Net.Repository/Shop/CoreCmsStoreRepository.cs +++ b/CoreCms.Net.Repository/Shop/CoreCmsStoreRepository.cs @@ -87,25 +87,25 @@ jm.msg = "涓嶅瓨鍦ㄦ淇℃伅"; return jm; } - //浜嬬墿澶勭悊杩囩▼寮�濮� + //浜嬪姟澶勭悊杩囩▼寮�濮� oldModel.storeName = entity.storeName; oldModel.mobile = entity.mobile; oldModel.linkMan = entity.linkMan; oldModel.logoImage = entity.logoImage; oldModel.areaId = entity.areaId; oldModel.address = entity.address; - oldModel.coordinate = entity.coordinate; + //oldModel.coordinate = entity.coordinate; oldModel.latitude = entity.latitude; oldModel.longitude = entity.longitude; oldModel.updateTime = entity.updateTime; oldModel.isDefault = entity.isDefault; - if (entity.coordinate.Contains(",")) - { - var latlong = entity.coordinate.Split(","); - oldModel.latitude = latlong[0]; - oldModel.longitude = latlong[1]; - } + //if (entity.coordinate.Contains(",")) + //{ + // var latlong = entity.coordinate.Split(","); + // oldModel.latitude = latlong[0]; + // oldModel.longitude = latlong[1]; + //} var isDefaultObj = DbClient.Queryable<CoreCmsStore>().Where(p => p.isDefault == true).Any(); if (isDefaultObj && entity.isDefault == true) -- Gitblit v1.9.1