|
|
|
@ -0,0 +1,40 @@ |
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
using Shentun.Peis.Models; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Volo.Abp.Application.Services; |
|
|
|
using Volo.Abp.Domain.Repositories; |
|
|
|
|
|
|
|
namespace Shentun.Peis.ChargeRequests |
|
|
|
{ |
|
|
|
public class ChargeRequestAppService: ApplicationService |
|
|
|
{ |
|
|
|
private readonly IRepository<PatientRegister, Guid> _patientRegisterRepository; |
|
|
|
private readonly IRepository<RegisterCheck, Guid> _registerCheckRepository; |
|
|
|
private readonly IRepository<RegisterCheckAsbitem, Guid> _registerCheckAsbitemRepository; |
|
|
|
public ChargeRequestAppService( |
|
|
|
IRepository<PatientRegister, Guid> patientRegisterRepository, |
|
|
|
IRepository<RegisterCheck, Guid> registerCheckRepository, |
|
|
|
IRepository<RegisterCheckAsbitem, Guid> registerCheckAsbitemRepository) |
|
|
|
{ |
|
|
|
_patientRegisterRepository = patientRegisterRepository; |
|
|
|
_registerCheckRepository = registerCheckRepository; |
|
|
|
_registerCheckAsbitemRepository = registerCheckAsbitemRepository; |
|
|
|
} |
|
|
|
/// <summary>
|
|
|
|
///
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("api/app/ChargeRequest/Create")] |
|
|
|
public async Task<ChargeRequestDto> CreateAsync(CreateChargeRequestDto input) |
|
|
|
{ |
|
|
|
ChargeRequestDto result = new ChargeRequestDto(); |
|
|
|
|
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
} |