Commit 7be344a7 by GhostUI

管理成本

parent 475ddaa9
......@@ -24,5 +24,10 @@ namespace Bailun.DC.Models.Dtos.Finance
public string FeeType { get; set; }
public bool IsPage { get; set; } = false;
#endregion
public int? IsStatistics { get; set; }
/// <summary>
/// 0付现 1成本
/// </summary>
public int Flag { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace Bailun.DC.Models.WebApiModels
{
public class ManagementCost : dc_base_finance_fee
{
///// <summary>
///// 费用标题
///// </summary>
//public string TypeName { get; set; }
//public string AccountingSubjectName { get; set; }
///// <summary>
///// 费用类型编码
///// </summary>
//public int? CostForm { get; set; }
///// <summary>
///// 费用类型中文名称
///// </summary>
//public string CostName { get; set; }
//public string CompanyName { get; set; }
//public decimal? Amount { get; set; }
//public decimal? AmountRmb { get; set; }
///// <summary>
///// 是否管理成本 0否 1是
///// </summary>
//public int? Statistics { get; set; }
//public int? IsLend { get; set; }
//public int? LendBalance { get; set; }
//public int? CompanyType { get; set; }
public string management_cost_name { get; set; }
}
}
......@@ -106,5 +106,13 @@ namespace Bailun.DC.WebApi.Controllers
[HttpPost("getFinanceDetails")]
public CommonApiResponseDto<List<FinanceDetailsDto>> GetFinanceDetails(GetCashFlowStatementInput input)
=> new FinanceService().GetFinanceDetails(input);
/// <summary>
/// 获取管理成本
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
[HttpPost("getManagementCost")]
public CommonApiResponseDto<FinanceDto> GetManagementCost(GetCashFlowStatementInput input)
=> new FinanceService().GetManagementCost(input);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment