7 changed files with 315 additions and 3 deletions
			
			
		- 
					15Shentun.WebPeis.Plugins/AppQueueRegisterPlugIns.cs
 - 
					14src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/AppointPatientRegisterIdsInputDto.cs
 - 
					72src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/GerAppointPatientRegisterWithAsbitemListDto.cs
 - 
					27src/Shentun.WebPeis.Application.Contracts/AppointPatientRegisters/UpdateAppointPatientAsbitemStatusInputDto.cs
 - 
					156src/Shentun.WebPeis.Application/AppointPatientRegisters/AppointPatientRegisterAppService.cs
 - 
					29src/Shentun.WebPeis.Application/Charges/ChargeAppService.cs
 - 
					5src/Shentun.WebPeis.Domain/Charges/ChargeManager.cs
 
@ -0,0 +1,14 @@ | 
			
		|||||
 | 
				using System; | 
			
		||||
 | 
				using System.Collections.Generic; | 
			
		||||
 | 
				using System.Text; | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				namespace Shentun.WebPeis.AppointPatientRegisters | 
			
		||||
 | 
				{ | 
			
		||||
 | 
				    public class AppointPatientRegisterIdsInputDto | 
			
		||||
 | 
				    { | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 预约id集合
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public List<Guid> AppointPatientRegisterIds { get; set; } = new List<Guid>(); | 
			
		||||
 | 
				    } | 
			
		||||
 | 
				} | 
			
		||||
@ -0,0 +1,72 @@ | 
			
		|||||
 | 
				using System; | 
			
		||||
 | 
				using System.Collections.Generic; | 
			
		||||
 | 
				using System.Text; | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				namespace Shentun.WebPeis.AppointPatientRegisters | 
			
		||||
 | 
				{ | 
			
		||||
 | 
				    public class GerAppointPatientRegisterWithAsbitemListDto | 
			
		||||
 | 
				    { | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 预约id
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public Guid AppointPatientRegisterId { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 收费状态 0-未收费  1-已收费  2-已退费
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public char ChargeFlag { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 预约日期
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public string AppointDate { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 预约项目
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public List<GerAppointPatientRegisterWithAsbitemListChargeAsbitemDto> AppointRegisterAsbitemDetail { get; set; } = new List<GerAppointPatientRegisterWithAsbitemListChargeAsbitemDto>(); | 
			
		||||
 | 
				    } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				    public class GerAppointPatientRegisterWithAsbitemListChargeAsbitemDto | 
			
		||||
 | 
				    { | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 主键
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public Guid AppointRegisterAsbitemId { get; set; } | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 组合项目ID
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public Guid AsbitemId { get; set; } | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 组合项目名称
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public string AsbitemName { get; set; } | 
			
		||||
 | 
				          | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 标准价格
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public decimal StandardPrice { get; set; } | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 收费价格
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public decimal ChargePrice { get; set; } | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 支付类别标准
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public char PayTypeFlag { get; set; } | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 是否收费
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public char IsCharge { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 数量
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public short Amount { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				         | 
			
		||||
 | 
				    } | 
			
		||||
 | 
				} | 
			
		||||
@ -0,0 +1,27 @@ | 
			
		|||||
 | 
				using System; | 
			
		||||
 | 
				using System.Collections.Generic; | 
			
		||||
 | 
				using System.Text; | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				namespace Shentun.WebPeis.AppointPatientRegisters | 
			
		||||
 | 
				{ | 
			
		||||
 | 
				    public class UpdateAppointPatientAsbitemStatusInputDto | 
			
		||||
 | 
				    { | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 预约id
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public Guid AppointPatientRegisterId { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        /// <summary>
 | 
			
		||||
 | 
				        /// 收费项目状态
 | 
			
		||||
 | 
				        /// </summary>
 | 
			
		||||
 | 
				        public List<UpdateAppointPatientAsbitemStatusInputDetailDto> ChargeAsbitemDetail { get; set; } = new List<UpdateAppointPatientAsbitemStatusInputDetailDto>(); | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				    } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				    public class UpdateAppointPatientAsbitemStatusInputDetailDto | 
			
		||||
 | 
				    { | 
			
		||||
 | 
				        public Guid AsbitemId { get; set; } | 
			
		||||
 | 
				
 | 
			
		||||
 | 
				        public char IsCharge { get; set; } | 
			
		||||
 | 
				    } | 
			
		||||
 | 
				} | 
			
		||||
						Write
						Preview
					
					
					Loading…
					
					Cancel
						Save
					
		Reference in new issue