分提单号

optimize
wet 2 years ago
parent 97e148bc4e
commit 466b768847

@ -145,7 +145,8 @@ namespace Myshipping.Application
{ {
List<long> userlist = await _right.GetDataScopeList(351064299098181); List<long> userlist = await _right.GetDataScopeList(351064299098181);
//List<long> userlist = await DataFilterExtensions.GetDataScopeIdList(); //List<long> userlist = await DataFilterExtensions.GetDataScopeIdList();
var entities = await _rep.AsQueryable().Where(x => x.ParentId == 0) var entities = await _rep.AsQueryable().
WhereIF(string.IsNullOrWhiteSpace(input.HBLNO),x => x.ParentId == 0)
.WhereIF(!string.IsNullOrWhiteSpace(input.BSNO), u => u.BSNO.Contains(input.BSNO)) .WhereIF(!string.IsNullOrWhiteSpace(input.BSNO), u => u.BSNO.Contains(input.BSNO))
.WhereIF(!string.IsNullOrWhiteSpace(input.BSSTATUS), u => u.BSSTATUS == input.BSSTATUS) .WhereIF(!string.IsNullOrWhiteSpace(input.BSSTATUS), u => u.BSSTATUS == input.BSSTATUS)
.WhereIF(input.BBSDATE != null, u => u.BSDATE >= input.BBSDATE) .WhereIF(input.BBSDATE != null, u => u.BSDATE >= input.BBSDATE)

Loading…
Cancel
Save