Browse Source

查询需要退款的小程序下单信息

master
wxd 11 months ago
parent
commit
ad5f526117
  1. 11
      src/Shentun.Peis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs
  2. 5
      src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

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

@ -246,7 +246,7 @@ namespace Shentun.Peis.AppointPatientRegisters
var patientRegisterList = query.ToList(); var patientRegisterList = query.ToList();
//获取符合条件的预约ID //获取符合条件的预约ID
var appointPatientRegisterIds = patientRegisterList.Select(s => s.patientRegister.AppointPatientRegisterId).Distinct().ToList();
var appointPatientRegisterIds = patientRegisterList.Select(s => Guid.Parse(s.patientRegister.AppointPatientRegisterId)).Distinct().ToList();
#endregion #endregion
@ -255,7 +255,12 @@ namespace Shentun.Peis.AppointPatientRegisters
if (!appointPatientRegisterIds.Any()) if (!appointPatientRegisterIds.Any())
return entListDto; return entListDto;
object[] objects = [appointPatientRegisterIds];
var inputParm = new AppointPatientRegisterIdsInputDto
{
AppointPatientRegisterIds = appointPatientRegisterIds
};
object[] objects = [inputParm];
var parmValue = thirdInterface.ParmValue; var parmValue = thirdInterface.ParmValue;
var configurationBuilder = new ConfigurationBuilder() var configurationBuilder = new ConfigurationBuilder()
.AddJsonStream(new MemoryStream(System.Text.Encoding.UTF8.GetBytes(parmValue))); .AddJsonStream(new MemoryStream(System.Text.Encoding.UTF8.GetBytes(parmValue)));
@ -366,7 +371,7 @@ namespace Shentun.Peis.AppointPatientRegisters
var inputPara = input.ChargeAsbitemDetail.FirstOrDefault(f => f.AsbitemId == registerCheckAsbitem.AsbitemId); var inputPara = input.ChargeAsbitemDetail.FirstOrDefault(f => f.AsbitemId == registerCheckAsbitem.AsbitemId);
if (inputPara != null) if (inputPara != null)
{ {
registerCheckAsbitem.IsCharge=inputPara.IsCharge;
registerCheckAsbitem.IsCharge = inputPara.IsCharge;
registerCheckAsbitem.ChargeSourceFlag = null; registerCheckAsbitem.ChargeSourceFlag = null;
} }
} }

5
src/Shentun.Peis.HttpApi.Host/PeisHttpApiHostModule.cs

@ -85,8 +85,7 @@ namespace Shentun.Peis;
typeof(AbpAspNetCoreMvcUiLeptonXLiteThemeModule), typeof(AbpAspNetCoreMvcUiLeptonXLiteThemeModule),
typeof(AbpAccountWebOpenIddictModule), typeof(AbpAccountWebOpenIddictModule),
typeof(AbpAspNetCoreSerilogModule), typeof(AbpAspNetCoreSerilogModule),
typeof(AbpSwashbuckleModule),
typeof(AbpBackgroundWorkersHangfireModule)
typeof(AbpSwashbuckleModule)
)] )]
public class PeisHttpApiHostModule : AbpModule public class PeisHttpApiHostModule : AbpModule
{ {
@ -251,7 +250,7 @@ public class PeisHttpApiHostModule : AbpModule
*/ */
//后台计划任务 //后台计划任务
ConfigureHangfire(context, configuration);
// ConfigureHangfire(context, configuration);
} }
/// <summary> /// <summary>

Loading…
Cancel
Save