Browse Source

预约

bjmzak
DESKTOP-G961P6V\Zhh 1 year ago
parent
commit
035885611c
  1. 2
      src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs
  2. 16
      src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

2
src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs

@ -6,7 +6,7 @@ namespace Shentun.Peis.AppointPatientRegisters
{ {
public class AppointPatientRegisterInputDto public class AppointPatientRegisterInputDto
{ {
public Guid? MedicalCenterId { get; set; }
public Guid ThirdInterFaceId { get; set; }
public string IdNo { get; set; } public string IdNo { get; set; }
public string MobilePhone { get; set; } public string MobilePhone { get; set; }

16
src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs

@ -1,11 +1,13 @@
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Shentun.Peis.Models;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
namespace Shentun.Peis.AppointPatientRegisters namespace Shentun.Peis.AppointPatientRegisters
{ {
@ -13,9 +15,17 @@ namespace Shentun.Peis.AppointPatientRegisters
[Authorize] [Authorize]
public class AppointPatientRegisterAppService : ApplicationService public class AppointPatientRegisterAppService : ApplicationService
{ {
//public async Task<List<AppointPatientRegisterDto>> GetListByIdNoOrMobilePhoneAsync(AppointPatientRegisterInputDto input)
//{
private readonly IRepository<ThirdInterface> _thirdInterfaceRepository;
//}
public AppointPatientRegisterAppService(IRepository<ThirdInterface> thirdInterfaceRepository)
{
_thirdInterfaceRepository = thirdInterfaceRepository;
}
public async Task<List<AppointPatientRegisterDto>> GetListByFilterAsync(AppointPatientRegisterInputDto input)
{
//_thirdInterfaceRepository
return new List<AppointPatientRegisterDto>();
}
} }
} }
Loading…
Cancel
Save