You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using DS.Module.Core;
|
|
using DS.WMS.Core.Invoice.Dtos;
|
|
using DS.WMS.Core.Invoice.Interface;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DS.WMS.FeeApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 银行流水相关
|
|
/// </summary>
|
|
public class BankStatementController : ApiController
|
|
{
|
|
readonly IBankStatementService _BankStatement;
|
|
|
|
/// <summary>
|
|
/// 初始化
|
|
/// </summary>
|
|
/// <param name="auditService"></param>
|
|
public BankStatementController(IBankStatementService bankStatement)
|
|
{
|
|
_BankStatement = bankStatement;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取银行流水列表
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost, Route("GetBankStatementList")]
|
|
public async Task<DataResult<List<GetBankStatementOutPut>>> GetBankStatementList(PageRequest<GetBankStatementInput> model)
|
|
{
|
|
return await _BankStatement.GetBankStatementList(model);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取银行账号列表
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost, Route("GetBankAccountList")]
|
|
public async Task<DataResult<List<GetBankAccountListOutput>>> GetBankAccountList()
|
|
{
|
|
return await _BankStatement.GetBankAccountList();
|
|
}
|
|
}
|
|
}
|
|
|