修复错误
This commit is contained in:
@@ -32,13 +32,13 @@ namespace NX.ERP.U8
|
||||
public IEnumerable<Customer> GetList(NX.ERP.Model.Request.Customer Params)
|
||||
{
|
||||
IList<string> where = new List<string>();
|
||||
if (string.IsNullOrEmpty(Params.CustomerCode))
|
||||
if (!string.IsNullOrEmpty(Params.CustomerCode))
|
||||
{
|
||||
where.Add(" cCusCode like @CustomerCode ");
|
||||
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(Params.CustomerName))
|
||||
if (!string.IsNullOrEmpty(Params.CustomerName))
|
||||
{
|
||||
where.Add(" cCusName like @CustomerName ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user