This commit is contained in:
Administrator
2025-07-30 17:28:36 +08:00
parent b01c363223
commit fba3a60b18
3 changed files with 23 additions and 9 deletions

View File

@@ -24,10 +24,16 @@ namespace GZ_LTHPilot_ORDER.WebApiService
}
public decimal GetSaleOrderReceiveAmount(string orgId, string billNo)
public SaleExecuteOut GetSaleOrderReceiveAmount(string orgId, string billNo)
{
SaleOrderService saleOrderService = new SaleOrderService(this.KDContext.Session.AppContext);
return saleOrderService.GetSaleOrderReceiveAmount(orgId, billNo);
var amount = saleOrderService.GetSaleOrderReceiveAmount(orgId, billNo);
var result = new SaleExecuteOut()
{
FBILLNO = billNo,
FALLMATCHAMOUNT = amount.ToString()
};
return result;
}
public List<SaleExecuteOut> GetSaleOrderReceiveAmountByDate(string orgId, DateTime startDate, DateTime endDate)