From 65d7c2461ac4713b45d5dfd970c68b51a69eb5c9 Mon Sep 17 00:00:00 2001 From: lwh <2679599887@qq.com> Date: Thu, 20 Jul 2023 16:14:49 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Vo/Api/ShopManager/Shops/ShopApiVo.cs | 23 ++++++------------- .../ShopManager/Shops/ShopServiceApi.cs | 5 ---- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/ARW.Model/Vo/Api/ShopManager/Shops/ShopApiVo.cs b/ARW.Model/Vo/Api/ShopManager/Shops/ShopApiVo.cs index 13d4d2a..6c19ee5 100644 --- a/ARW.Model/Vo/Api/ShopManager/Shops/ShopApiVo.cs +++ b/ARW.Model/Vo/Api/ShopManager/Shops/ShopApiVo.cs @@ -117,36 +117,27 @@ namespace ARW.Model.Vo.Api.ShopManager.Shops /// public class ShopApiDetailsVo { - [EpplusIgnore] public int ShopId { get; set; } + [JsonConverter(typeof(ValueToStringConverter))] - [EpplusIgnore] public long ShopGuid { get; set; } - [EpplusIgnore] - public int? ShopUserId { get; set; } + [JsonConverter(typeof(ValueToStringConverter))] - [EpplusIgnore] - public long? ShopCustomerGuid { get; set; } - [JsonConverter(typeof(ValueToStringConverter))] - [EpplusTableColumn(Header = "经营类目guid")] public long ShopBusinessCategoryGuid { get; set; } - [EpplusTableColumn(Header = "图标")] + public string ShopLogo { get; set; } + [EpplusTableColumn(Header = "营业执照")] public string ShopBusinessLicense { get; set; } + [EpplusTableColumn(Header = "名称")] public string ShopName { get; set; } + [EpplusTableColumn(Header = "简介")] public string ShopIntro { get; set; } - [EpplusTableColumn(Header = "排序")] - public int ShopSort { get; set; } + [EpplusTableColumn(Header = "销售单量")] public int ShopSalesOrderCount { get; set; } - [EpplusTableColumn(Header = "审核状态")] - public int ShopAuditStatus { get; set; } - [JsonConverter(typeof(ValueToStringConverter))] - [EpplusTableColumn(Header = "审核人")] - public long ShopAuditUserGuid { get; set; } } diff --git a/ARW.Service/Api/BusinessService/ShopManager/Shops/ShopServiceApi.cs b/ARW.Service/Api/BusinessService/ShopManager/Shops/ShopServiceApi.cs index fc2625a..0d87872 100644 --- a/ARW.Service/Api/BusinessService/ShopManager/Shops/ShopServiceApi.cs +++ b/ARW.Service/Api/BusinessService/ShopManager/Shops/ShopServiceApi.cs @@ -125,17 +125,12 @@ namespace ARW.Service.Api.BusinessService.ShopManager.Shops { ShopId = s.ShopId, ShopGuid = s.ShopGuid, - ShopUserId = s.ShopUserId, - ShopCustomerGuid = s.ShopCustomerGuid, ShopBusinessCategoryGuid = s.ShopBusinessCategoryGuid, ShopLogo = s.ShopLogo, ShopBusinessLicense = s.ShopBusinessLicense, ShopName = s.ShopName, ShopIntro = s.ShopIntro, - ShopSort = s.ShopSort, ShopSalesOrderCount = s.ShopSalesOrderCount, - ShopAuditStatus = s.ShopAuditStatus, - ShopAuditUserGuid = s.ShopAuditUserGuid, }).Take(1);