From 035885611c23e6679fb4c4107b931bd184a5d255 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Tue, 4 Jun 2024 00:45:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppointPatientRegisterInputDto.cs | 2 +- .../AppointPatientRegisterAppService.cs | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs b/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs index b6ba123..f9a6dc3 100644 --- a/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs +++ b/src/Shentun.Peis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterInputDto.cs @@ -6,7 +6,7 @@ namespace Shentun.Peis.AppointPatientRegisters { public class AppointPatientRegisterInputDto { - public Guid? MedicalCenterId { get; set; } + public Guid ThirdInterFaceId { get; set; } public string IdNo { get; set; } public string MobilePhone { get; set; } diff --git a/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs b/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs index f573e51..714f9e9 100644 --- a/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs +++ b/src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs @@ -1,11 +1,13 @@ using Microsoft.AspNetCore.Authorization; 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.AppointPatientRegisters { @@ -13,9 +15,17 @@ namespace Shentun.Peis.AppointPatientRegisters [Authorize] public class AppointPatientRegisterAppService : ApplicationService { - //public async Task> GetListByIdNoOrMobilePhoneAsync(AppointPatientRegisterInputDto input) - //{ + private readonly IRepository _thirdInterfaceRepository; - //} + public AppointPatientRegisterAppService(IRepository thirdInterfaceRepository) + { + _thirdInterfaceRepository = thirdInterfaceRepository; + } + public async Task> GetListByFilterAsync(AppointPatientRegisterInputDto input) + { + //_thirdInterfaceRepository + return new List(); + + } } }