| | |
| | | .WhereIF(!string.IsNullOrEmpty(strTime[2]), x => x.ModelCode.Equals(strTime[2])) |
| | | .WhereIF(!string.IsNullOrEmpty(strTime[3]), x => x.CustomerCode.Equals(strTime[3])) |
| | | .WhereIF(!string.IsNullOrEmpty(strTime[4]), x => x.DeliveryNo.Equals(strTime[4])) |
| | | .WhereIF(!string.IsNullOrEmpty(strTime[5]), x => x.CustModel.Equals(strTime[5])) |
| | | .ToPageListAsync(pageList.pageIndex, pageList.pageSize, total); |
| | | pageList.totals = total; |
| | | } |
| | |
| | | .WhereIF(!string.IsNullOrEmpty(where.model), x => x.ModelCode == where.model) |
| | | .WhereIF(!string.IsNullOrEmpty(where.customerCode), x => x.CustomerCode.Equals(where.customerCode)) |
| | | .WhereIF(!string.IsNullOrEmpty(where.deliveryNo), x => x.DeliveryNo.Equals(where.deliveryNo)) |
| | | .WhereIF(!string.IsNullOrEmpty(where.custParam1), x => x.CustModel.Equals(where.custParam1)) |
| | | .ToListAsync(); |
| | | } |
| | | catch (Exception ex) |
| | |
| | | .WhereIF(!string.IsNullOrEmpty(where.model), x => x.ItemCode == where.model) |
| | | .WhereIF(!string.IsNullOrEmpty(where.customerCode), x => x.CustomerCode.Equals(where.customerCode)) |
| | | .WhereIF(!string.IsNullOrEmpty(where.deliveryNo), x => x.DeliveryNo.Equals(where.deliveryNo)) |
| | | .WhereIF(!string.IsNullOrEmpty(where.custParam1), x => x.CustModel.Equals(where.custParam1)) |
| | | .OrderBy(x=>x.CREATE_TIME).OrderBy(x => x.Scanner).ToListAsync(); |
| | | } |
| | | catch (Exception ex) |