optimize
wet 2 years ago
parent 0a291208c9
commit 2381beee31

@ -5579,11 +5579,11 @@ namespace Myshipping.Application
var CtnDayNumlist = await GetGoodsStatusList(item.Id);
item.CtnDayNum = CtnDayNumlist.Where(x => x.StatusName == "申请箱使").Select(x => x.ExtData).FirstOrDefault();
if (!string.IsNullOrEmpty(item.ISSUETYPE))
{
var ISSUETYPE = _cache.GetAllMappingIssueType().Result.Where(x => x.Module == "HeChuan" && x.Code == item.ISSUETYPE).Select(x => x.MapName).FirstOrDefault();
item.ISSUETYPE = ISSUETYPE;
}
//if (!string.IsNullOrEmpty(item.ISSUETYPE))
//{
// var ISSUETYPE = _cache.GetAllMappingIssueType().Result.Where(x => x.Module == "HeChuan" && x.Code == item.ISSUETYPE).Select(x => x.MapName).FirstOrDefault();
// item.ISSUETYPE = ISSUETYPE;
//}
var ctn = await _repCtn.AsQueryable().Filter(null, true).Where(x => x.BILLID == item.Id).ToListAsync();
item.ctnInputs = ctn.Adapt<List<BookingCtnDto>>();

Loading…
Cancel
Save