|
|
|
@ -71,14 +71,14 @@ namespace BWP.B3ButcherManageExport.BL |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public string GetSumNumber(IEnumerable<Pay_Detail> details) |
|
|
|
public string GetSumNumber(IEnumerable<Pay_AdvanceDetail> details) |
|
|
|
{ |
|
|
|
return details.Sum(x => (x.WeighBill_BuyNum ?? 0)).ToString(); |
|
|
|
return details.Sum(x => (x.BuyNum ?? 0)).ToString(); |
|
|
|
} |
|
|
|
|
|
|
|
public string GetSumWeight(IEnumerable<Pay_Detail> details) |
|
|
|
public string GetSumWeight(IEnumerable<Pay_AdvanceDetail> details) |
|
|
|
{ |
|
|
|
return details.Sum(x => (x.WeighBill_BuyWeigh1 ?? 0).Value).ToString("0.00"); |
|
|
|
return details.Sum(x => (x.BuyWeigh1 ?? 0).Value).ToString("0.00"); |
|
|
|
} |
|
|
|
|
|
|
|
public string GetStatPayDate(Pay dmo, string format) |
|
|
|
|