optimize
wet 1 year ago
parent 07dc2969af
commit c7b4bc9acc

@ -235,6 +235,7 @@ namespace Myshipping.Application
.WhereIF(input.ISDel, x => x.IsDeleted == true)
.WhereIF(input.firstFlag, x => (x.ETD <= etoday && x.ETD >= ftoday || x.ETD == null) && x.CreatedUserId == UserManager.UserId) //首次加载数据ETD前后15天且创建人是当前人
.Where(x => x.ParentId == 0 || x.ParentId == null) //台账只查询主单!!
.WhereIF( input.Id!=0,x=>x.Id==input.Id)
.WhereIF(pidlist != null && pidlist.Count > 0, x => pidlist.Contains(x.Id))
.WhereIF(!string.IsNullOrWhiteSpace(input.BSNO), u => u.BSNO.Contains(input.BSNO))
.WhereIF(!string.IsNullOrWhiteSpace(input.BSSTATUS), u => u.BSSTATUS == input.BSSTATUS)

@ -12,7 +12,7 @@ namespace Myshipping.Application
public class BookingOrderInput : PageInputBase
{
public virtual long Id { get; set; } = 0;
/// <summary>
/// 查询已删除
/// </summary>

Loading…
Cancel
Save