From 6190af78ef8d44e8e3509f706d1d3200d611c9da Mon Sep 17 00:00:00 2001
From: wxd <123@qq.com>
Date: Mon, 23 Mar 2026 09:32:45 +0800
Subject: [PATCH] =?UTF-8?q?excel=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 1 +
...tPositivePatientRegisterReportReduceDto.cs | 11 ++
.../ExcelExports/ExportStandardInputDto.cs | 19 ++
.../ExcelExports/ExcelExportAppService.cs | 169 ++++++++++++++++++
.../Shentun.Peis.Application.csproj | 1 +
5 files changed, 201 insertions(+)
create mode 100644 src/Shentun.Peis.Application.Contracts/ExcelExports/ExportStandardInputDto.cs
create mode 100644 src/Shentun.Peis.Application/ExcelExports/ExcelExportAppService.cs
diff --git a/.gitignore b/.gitignore
index b9197f4b..036a2b58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -272,3 +272,4 @@ src/Shentun.Peis.Blazor.Server.Tiered/Logs/*
/src/Shentun.Peis.HttpApi.Host/CloudFilm/2025
/src/Shentun.Peis.HttpApi.Host/photo/2020/1/1
/src/Shentun.Peis.HttpApi.Host/CloudFilm/2024/12/30
+/src/Shentun.Peis.HttpApi.Host/Exports
diff --git a/src/Shentun.Peis.Application.Contracts/CustomerReports/GetPositivePatientRegisterReportReduceDto.cs b/src/Shentun.Peis.Application.Contracts/CustomerReports/GetPositivePatientRegisterReportReduceDto.cs
index 31b5e698..f8389c24 100644
--- a/src/Shentun.Peis.Application.Contracts/CustomerReports/GetPositivePatientRegisterReportReduceDto.cs
+++ b/src/Shentun.Peis.Application.Contracts/CustomerReports/GetPositivePatientRegisterReportReduceDto.cs
@@ -28,6 +28,17 @@ namespace Shentun.Peis.CustomerReports
///
public int FemaleCount { get; set; }
+ ///
+ /// 登记男性人数
+ ///
+ public int RegisterMaleCount { get; set; }
+
+
+ ///
+ /// 登记女性人数
+ ///
+ public int RegisterFemaleCount { get; set; }
+
public List Details { get; set; } = new List();
diff --git a/src/Shentun.Peis.Application.Contracts/ExcelExports/ExportStandardInputDto.cs b/src/Shentun.Peis.Application.Contracts/ExcelExports/ExportStandardInputDto.cs
new file mode 100644
index 00000000..2af766a7
--- /dev/null
+++ b/src/Shentun.Peis.Application.Contracts/ExcelExports/ExportStandardInputDto.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shentun.Peis.ExcelExports
+{
+ public class ExportStandardInputDto
+ {
+ ///
+ /// 列名集合(显示在 Excel 表头)
+ ///
+ public List Columns { get; set; }
+
+ ///
+ /// 数据集合(强类型列表)
+ ///
+ public List