增加查询字段
This commit is contained in:
@@ -90,7 +90,7 @@ namespace NX.ERP.U8.Mom
|
||||
if (bom.Pubufts != null)
|
||||
{
|
||||
|
||||
where.Add("CONVERT(BIGINT,a.Ufts) >=@Pubufts ");
|
||||
where.Add("CONVERT(BIGINT,a.Ufts) >@Pubufts ");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@ namespace NX.ERP.U8.Mom
|
||||
left join mom_orderdetail as b on a.MoId=b.MoId
|
||||
left join mom_morder as d on b.MoDId=d.MoDId
|
||||
left join mom_SNDetail as e on b.MoDId=e.iVouchsID
|
||||
left join mom_moallocate as c on b.MoDId=c.MoDId where b.Status<>4";
|
||||
left join mom_moallocate as c on b.MoDId=c.MoDId ";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
strSQL += $" and {strWhere} ";
|
||||
strSQL += $" where {strWhere} ";
|
||||
}
|
||||
var lookupDetail = new Dictionary<int, Model.MOM.MomDetail>();
|
||||
var lookupOrder = new Dictionary<int, Model.MOM.MomOrder>();
|
||||
@@ -107,10 +107,16 @@ namespace NX.ERP.U8.Mom
|
||||
|
||||
if (Params.Pubufts != null)
|
||||
{
|
||||
where.Add("CONVERT(BIGINT,a.Ufts) >=@Pubufts ");
|
||||
where.Add("CONVERT(BIGINT,a.Ufts) > @Pubufts ");
|
||||
|
||||
}
|
||||
|
||||
if (Params.Status!=null)
|
||||
{
|
||||
where.Add(" b.Status in @Status ");
|
||||
|
||||
}
|
||||
|
||||
|
||||
return this.GetList(string.Join(" and ", where.ToArray()), new
|
||||
{
|
||||
@@ -118,7 +124,8 @@ namespace NX.ERP.U8.Mom
|
||||
ProductOrderNo = $"{Params.ProductOrderNo}",
|
||||
Params.ProductOrderendID,
|
||||
Params.ModifyDate,
|
||||
Params.Pubufts
|
||||
Params.Pubufts,
|
||||
Params.Status
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user