11
This commit is contained in:
parent
37859063e7
commit
5b029f6179
@ -67,6 +67,12 @@ namespace MyCode.Project.Domain.Message.Request.PurchaseOrder
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string SortString { get; set; }
|
public string SortString { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Desc:供应商名称
|
||||||
|
/// </summary>
|
||||||
|
public string SupplierName { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PurchaseOrderItemSearch
|
public class PurchaseOrderItemSearch
|
||||||
|
|||||||
@ -48,6 +48,7 @@ namespace MyCode.Project.Repositories
|
|||||||
where.AddCondition("a.supplierId", supplierId, SqlOperator.Equal, !string.IsNullOrWhiteSpace( supplierId));
|
where.AddCondition("a.supplierId", supplierId, SqlOperator.Equal, !string.IsNullOrWhiteSpace( supplierId));
|
||||||
where.AddCondition("a.FPurchaseOrgId", FPurchaseOrgId, SqlOperator.Equal, !string.IsNullOrWhiteSpace(FPurchaseOrgId) && FPurchaseOrgId != "-1");
|
where.AddCondition("a.FPurchaseOrgId", FPurchaseOrgId, SqlOperator.Equal, !string.IsNullOrWhiteSpace(FPurchaseOrgId) && FPurchaseOrgId != "-1");
|
||||||
where.AddCondition("b.MaterialCode", condition.MaterialCode, SqlOperator.Like, !string.IsNullOrWhiteSpace(condition.MaterialCode));
|
where.AddCondition("b.MaterialCode", condition.MaterialCode, SqlOperator.Like, !string.IsNullOrWhiteSpace(condition.MaterialCode));
|
||||||
|
where.AddCondition("a.SupplierName", condition.SupplierName, SqlOperator.Like, !string.IsNullOrWhiteSpace(condition.SupplierName));
|
||||||
where.AddCondition("b.FMRPCloseStatus", condition.FMRPCloseStatus, SqlOperator.Equal, !string.IsNullOrWhiteSpace(condition.FMRPCloseStatus) && condition.FMRPCloseStatus != "-1");
|
where.AddCondition("b.FMRPCloseStatus", condition.FMRPCloseStatus, SqlOperator.Equal, !string.IsNullOrWhiteSpace(condition.FMRPCloseStatus) && condition.FMRPCloseStatus != "-1");
|
||||||
//where.AddSqlCondition(" FCancelStatus ='A' and FMRPCloseStatus='A' ",true);
|
//where.AddSqlCondition(" FCancelStatus ='A' and FMRPCloseStatus='A' ",true);
|
||||||
where.AddSqlCondition("[FBILLTYPEID] in ('样品采购订单','标准采购订单','Standard Purchase Order','标准委外订单','Sample Purchase Order','Standard Subcontract Order') ", true);
|
where.AddSqlCondition("[FBILLTYPEID] in ('样品采购订单','标准采购订单','Standard Purchase Order','标准委外订单','Sample Purchase Order','Standard Subcontract Order') ", true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user