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.

35 lines
979 B
C#

using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
using DS.WMS.Core.Fee.Interface;
using DS.WMS.Core.Flow.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.FeeApi.Controllers
{
/// <summary>
/// 费用审核服务
/// </summary>
public class FeeAuditController : ApiController
{
readonly IFeeAuditService _auditService;
readonly IClientFlowInstanceService _flowService;
public FeeAuditController(IFeeAuditService feeService, IClientFlowInstanceService flowService)
{
_auditService = feeService;
_flowService = flowService;
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost, Route("GetList")]
public DataResult<List<FeeAuditBusiness>> List([FromBody] PageRequest request)
{
return _auditService.GetListByPage(request);
}
}
}