修改更新接口

This commit is contained in:
gongxh
2021-06-04 11:22:42 +08:00
parent 1f55b28602
commit 0644817c17
26 changed files with 174 additions and 64 deletions

View File

@@ -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)
{

View File

@@ -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 ");