Commit 2686ee7a authored by 吴春's avatar 吴春

1

parent e00e687f
......@@ -260,6 +260,14 @@ namespace Mall.Model.Entity.TradePavilion
/// </summary>
public string Complementary { get; set; }
/// <summary>
/// 联系人
/// </summary>
public string ContactName { get; set; }
/// <summary>
/// 联系电话
/// </summary>
public string ContactPhone { get; set; }
}
}
......@@ -268,7 +268,15 @@ namespace Mall.Model.Entity.TradePavilion
public int CategoryId { get; set; }
/// <summary>
/// 联系人
/// </summary>
public string ContactName { get; set; }
/// <summary>
/// 联系电话
/// </summary>
public string ContactPhone { get; set; }
}
......
......@@ -233,6 +233,10 @@ namespace Mall.Module.TradePavilion
public RB_Building_Carrier_Extend GetBuildingCarrierModule(int ID, bool isVisit = false)
{
var extModel = building_CarrierRepository.GetEntity<RB_Building_Carrier_Extend>(ID);
if (extModel != null && extModel.CategoryId > 0)
{
extModel.CategoryName = brandClassRepository.GetEntity(extModel.CategoryId)?.ClassName ?? "";
}
if (extModel != null && extModel.ID > 0)
{
var bcMetroList = building_CarriermetroRepository.GetBuildingCarrierMetroListRepository(new RB_Building_Carriermetro_Extend() { CarrierId = extModel.ID });
......
......@@ -2931,8 +2931,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
extModel.Address,
extModel.LatAndLon,
extModel.Developers,
extModel.ProjectType,
ProjectTypeName = extModel.ProjectType.GetEnumName(),
extModel.CategoryId,
extModel.CategoryName,
extModel.CarrierSize,
extModel.LayersNum,
extModel.CarNum,
......@@ -3225,7 +3225,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
}
var result = new
{
CollectId ,
CollectId,
ServiceId = extModel?.ServiceId ?? 0,
Name = extModel?.Name ?? "",
Introduction = extModel?.Introduction ?? "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment