修改更新接口
This commit is contained in:
@@ -53,6 +53,11 @@ namespace NX.ERP.U8.Mom
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<NX.ERP.Model.Response.MOM.Bom> GetList(long Pubufts)
|
||||
{
|
||||
return this.GetList("CONVERT(BIGINT,a.Ufts) >@Pubufts", new { Pubufts });
|
||||
}
|
||||
|
||||
|
||||
public IEnumerable<NX.ERP.Model.Response.MOM.Bom> GetList(NX.ERP.Model.Request.Bom bom)
|
||||
{
|
||||
|
||||
@@ -73,6 +73,16 @@ namespace NX.ERP.U8.Mom
|
||||
|
||||
}
|
||||
|
||||
public IEnumerable<Model.MOM.MomOrder> GetList(long Pubufts)
|
||||
{
|
||||
return this.GetList("CONVERT(BIGINT,a.Ufts) > @Pubufts", new { Pubufts });
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -99,7 +109,7 @@ namespace NX.ERP.U8.Mom
|
||||
where.Add(" a.MoId >= @ProductOrderendID ");
|
||||
}
|
||||
|
||||
if (Params.ModifyDate!=null)
|
||||
if (Params.ModifyDate != null)
|
||||
{
|
||||
where.Add(" ISNULL( a.ModifyDate,createDate) >= @ModifyDate or a.RelsTime>=@ModifyDate ");
|
||||
}
|
||||
@@ -108,10 +118,10 @@ namespace NX.ERP.U8.Mom
|
||||
if (Params.Pubufts != null)
|
||||
{
|
||||
where.Add("CONVERT(BIGINT,a.Ufts) > @Pubufts ");
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (Params.Status!=null)
|
||||
if (Params.Status != null)
|
||||
{
|
||||
where.Add(" b.Status in @Status ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user