commit
This commit is contained in:
@@ -132,7 +132,7 @@ namespace NX.ERP.U8.Mom
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Params.ProductOrderNo))
|
||||
{
|
||||
where.Add(" b.moCode like @ProductOrderNo ");
|
||||
where.Add(" a.moCode like @ProductOrderNo ");
|
||||
}
|
||||
return this.GetDetails(string.Join(" and ", where.ToArray()), new
|
||||
{
|
||||
@@ -192,7 +192,7 @@ namespace NX.ERP.U8.Mom
|
||||
|
||||
public Model.MOM.MomOrder GetModel(string Code)
|
||||
{
|
||||
return this.GetList("b.moCode=@Code", new { Code }).FirstOrDefault();
|
||||
return this.GetList("a.moCode=@Code", new { Code }).FirstOrDefault();
|
||||
}
|
||||
|
||||
public IEnumerable<Model.MOM.MomOrder> GetListByLastID(int Id)
|
||||
|
||||
Reference in New Issue
Block a user