Commit b1205eb8 authored by 黄奎's avatar 黄奎

页面修改

parent 304c3474
......@@ -358,5 +358,10 @@ namespace Mall.Model.Extend.Product
/// 服务人员姓名
/// </summary>
public string ServicepersonalName { get; set; }
/// <summary>
/// 订单商品所属门店
/// </summary>
public int StoresIds { get; set; }
}
}
......@@ -650,7 +650,11 @@ where {where} order by o.CreateDate desc";
where += $@" and o.{nameof(RB_Goods_Order.UserId)} ={dmodel.UserId}";
}
string sql = $@"SELECT a.*,e.`Name` as CarName,e.CarType as GuideCarType,e.CarClass,f.ColorName as CarColorName,cb.`Name` as CarBrandName,g.RideNum,gcg.Name as GuideName,gcg.GuidePhoto,gcg.WorkYears as GuideWorkYears,gcg.Score as GuideScore,gcg.Telephone as GuideTelephone FROM rb_goods_orderdetail as a
string sql = $@"
SELECT a.*,e.`Name` as CarName,e.CarType as GuideCarType,e.CarClass,f.ColorName as CarColorName,cb.`Name` as CarBrandName,g.RideNum
,gcg.Name as GuideName,gcg.GuidePhoto,gcg.WorkYears as GuideWorkYears,gcg.Score as GuideScore,gcg.Telephone as GuideTelephone
,g.StoresIds
FROM rb_goods_orderdetail as a
left join rb_goods_order o on a.OrderId = o.OrderId
LEFT JOIN rb_guidecar_car as e on e.ID=a.CarId
LEFT JOIN rb_guidecar_carbrand as cb on e.CarBrandId=cb.ID
......
......@@ -1288,6 +1288,7 @@ namespace Mall.WebApi.Controllers.MallBase
x.ServiceTime,
x.ServicepersonalId,
x.ServicepersonalName,
x.StoresIds,
});
return ApiResult.Success("", pagelist);
}
......
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