11
This commit is contained in:
parent
dfca083b52
commit
be3619103a
@ -81,7 +81,7 @@ namespace MyCode.Project.Domain.Message.Act.PurchaseOrder
|
||||
/// </summary>
|
||||
public int FENTRYID { get; set; }
|
||||
|
||||
public int Qty { get; set; }
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
public string FSupplierLot { get; set; }
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ namespace MyCode.Project.Domain.Message.Act.PurchaseOrder
|
||||
/// <summary>
|
||||
/// 要发货的数量
|
||||
/// </summary>
|
||||
public int Qty { get; set; }
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商批号
|
||||
|
||||
@ -49,8 +49,8 @@ namespace MyCode.Project.Repositories
|
||||
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.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);
|
||||
|
||||
string sql = $@"select a.[Id] AS FormId ,1 IfFaHuo
|
||||
,[SupplierName]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user