修改服务加载增加日志

optimize
jianghaiqing 1 year ago
parent c892e32658
commit 4248436fd9

@ -2468,6 +2468,8 @@ namespace Myshipping.Application
//查询所有服务服务项目和状态时,需要先获取订舱详情
if (model.QueryType == TrackingQueryTypeEnum.QUERY_SERVICE_ALL)
{
DateTime bDate = DateTime.Now;
var bookingOrder = _bookingOrderRepository.AsQueryable().Filter(null, true)
.First(a => a.Id == model.BookingId);
@ -2482,6 +2484,12 @@ namespace Myshipping.Application
};
result = await _serviceWorkFlowManageService.GetEnableStatusListByBusiness(queryInfo);
DateTime eDate = DateTime.Now;
TimeSpan ts = eDate.Subtract(bDate);
var timeDiff = ts.TotalMilliseconds;
_logger.LogInformation("测试读取服务状态-起始位置 耗时:{timeDiff}ms. ", timeDiff);
}
else
{

@ -963,5 +963,10 @@ namespace Myshipping.Application.Service.BookingOrder.Dto
/// 是否订阅运踪 0 没有订阅 1 订阅起运港 2 订阅目的港
/// </summary>
public string IsBookingYZ { get; set; }
/// <summary>
/// 状态底色
/// </summary>
public string GoodsStatusColor { get; set; }
}
}

Loading…
Cancel
Save