修改查询的错误
This commit is contained in:
@@ -211,11 +211,11 @@ namespace U8AppMain
|
||||
purchase.purchaseapp.body.Add(body);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception err)
|
||||
{
|
||||
|
||||
this.richTextBox1.SelectionColor = Color.Red;
|
||||
this.richTextBox1.AppendText("读取数据出错\r\n");
|
||||
this.richTextBox1.AppendText("读取数据出错\r\n"+err.Message);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -281,7 +281,7 @@ namespace NX.ERP.U8
|
||||
|
||||
public IEnumerable<Materiel> GetList(IEnumerable<string> codes)
|
||||
{
|
||||
return this.GetList(" cInvCode=@codes ", codes);
|
||||
return this.GetList(" cInvCode in @codes ",new { codes });
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user