修改舱位台账查询

master
jianghaiqing 5 months ago
parent ed2a1cecb7
commit 081fafd086

@ -1938,7 +1938,7 @@ namespace Myshipping.Application
.WhereIF(!string.IsNullOrEmpty(input.LANENAME), u => u.LANENAME.Contains(input.LANENAME))
.WhereIF(input.WEEK_AT != null, u => u.WEEK_AT == input.WEEK_AT)
.WhereIF(!string.IsNullOrEmpty(input.LOAD_GUARANTEE_FLAG), u => u.LOAD_GUARANTEE_FLAG == input.LOAD_GUARANTEE_FLAG)
.WhereIF(!string.IsNullOrWhiteSpace(input.SPLIT_OR_MERGE_FLAG), u => u.WEEK_AT == int.Parse(input.SPLIT_OR_MERGE_FLAG))
.WhereIF(!string.IsNullOrWhiteSpace(input.SPLIT_OR_MERGE_FLAG), u => u.SPLIT_OR_MERGE_FLAG == int.Parse(input.SPLIT_OR_MERGE_FLAG))
//.WhereIF(isEnableCustomerAuthority, u => SqlFunc.Subqueryable<BookingSlotAllocation>()
// .Where(x => x.BOOKING_SLOT_ID == u.Id)
@ -4229,8 +4229,9 @@ namespace Myshipping.Application
if (rltList.Any(a => a.Item2 == 0))
{
result.succ = false;
result.msg = $" 成功数量:{rltList.Count(a => a.Item2 > 0)},失败数量:{rltList.Count(a => a.Item2 == 0)} 失败单号:{(string.Join(",", rltList.Select(a => a.Item1).ToArray()))}";
_logger.LogInformation($" 成功数量:{rltList.Count(a => a.Item2 > 0)},失败数量:{rltList.Count(a => a.Item2 == 0)} 失败单号:{(string.Join(",", rltList.Select(a => a.Item1).ToArray()))}");
//result.succ = false;
throw Oops.Oh($" 成功数量:{rltList.Count(a => a.Item2 > 0)},失败数量:{rltList.Count(a => a.Item2 == 0)} 失败单号:{(string.Join(",", rltList.Select(a => a.Item1).ToArray()))}");
}

Loading…
Cancel
Save