Commit 52101fb5 authored by 吴春's avatar 吴春
parents a35b489b 34b584e8
......@@ -796,9 +796,8 @@ namespace Mall.Module.TradePavilion
//审核通过了的 直接查询资料表
var blist = brand_EnterpriseRepository.GetBrandEnterpriseListRepository(new RB_Brand_Enterprise_Extend() { TenantId = model.TenantId, MallBaseId = model.MallBaseId, UserId = userId });
model.BrandModel = blist.FirstOrDefault().RefMapperTo<RB_BrandEnterpriseApplyFor_Extend>();
model.BrandModel.BrandClassId = blist.FirstOrDefault().CategoryId;
model.BrandModel.ClassName = blist.FirstOrDefault().CategoryName;
model.BrandModel.BrandClassId = blist?.FirstOrDefault()?.CategoryId??0;
model.BrandModel.ClassName = blist?.FirstOrDefault()?.CategoryName??"";
if (model.BrandModel != null)
{
if (!string.IsNullOrWhiteSpace(model.BrandModel.CustomerType))
......
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