|
@ -628,7 +628,7 @@ namespace CK.SCP.Controller |
|
|
} |
|
|
} |
|
|
if (!string.IsNullOrEmpty(p_entity.InvcBillNum)) |
|
|
if (!string.IsNullOrEmpty(p_entity.InvcBillNum)) |
|
|
{ |
|
|
{ |
|
|
q = q.Where(p => p.InvcBillNum.Contains(p_entity.InvcBillNum)); |
|
|
q = q.Where(p => p.InvcBillNum==(p_entity.InvcBillNum)); |
|
|
} |
|
|
} |
|
|
if (!string.IsNullOrEmpty(p_entity.PoBillNum)) |
|
|
if (!string.IsNullOrEmpty(p_entity.PoBillNum)) |
|
|
{ |
|
|
{ |
|
@ -714,7 +714,7 @@ namespace CK.SCP.Controller |
|
|
{ |
|
|
{ |
|
|
q = q.Where(p => p.CreateUser.Contains(p_entity.CreateUser)); |
|
|
q = q.Where(p => p.CreateUser.Contains(p_entity.CreateUser)); |
|
|
} |
|
|
} |
|
|
q = q.Where(p => p.IsRed == p_entity.IsRed); |
|
|
// q = q.Where(p => p.IsRed == p_entity.IsRed);
|
|
|
|
|
|
|
|
|
_ret.State = ReturnStatus.Succeed; |
|
|
_ret.State = ReturnStatus.Succeed; |
|
|
_ret.Result = q; |
|
|
_ret.Result = q; |
|
|