aQiu6 пре 4 месеци
родитељ
комит
2976a18ece

+ 3 - 0
src/main/java/org/example/mybatisplus/module/FinancialInfo.java

@@ -18,6 +18,9 @@ public class FinancialInfo {
     private FinancialData financialData3;    // 重要财务数据(4.1)
     private FinancialData financialData4;    // 重要财务数据(4.1)
     private String remark;    // 备注
+    private String year1;         //财务指标年份
+    private String year2;    //
+    private String year3;          //
     private List<FinancialIndicator> indicators;  // 财务指标(4.2)
     private FinancialScore financialScore;        // 财务信息评分及建议(4.3)
 }

+ 2 - 3
src/main/java/org/example/mybatisplus/module/ServiceProviderAuditReport.java

@@ -2,10 +2,9 @@ package org.example.mybatisplus.module;
 
 import lombok.Data;
 import org.example.mybatisplus.module.vo.Attachment;
+import org.example.mybatisplus.module.vo.DocumentVo;
 import org.example.mybatisplus.module.vo.ServiceProviderInfo;
 
-import java.util.List;
-
 /**
  * 顶层报告类
  */
@@ -18,6 +17,6 @@ public class ServiceProviderAuditReport {
     private FinancialInfo financialInfo;             // 财务信息
     private ProjectInfo projectInfo;                 // 项目情况
     private Attachment interestConflict;             // 利益冲突 
-    private List<Attachment> attachments;            // 附件列表
+    private DocumentVo documentVo;            // 附件列表
 }
 

+ 40 - 0
src/main/java/org/example/mybatisplus/module/vo/DocumentVo.java

@@ -0,0 +1,40 @@
+package org.example.mybatisplus.module.vo;
+
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * 附件
+ */
+@Data
+public class DocumentVo {
+    // 7.1 基金会法人登记证书
+    private List<Attachment> foundationLegalPersonRegistrationCertificate;
+    // 6.2 基金会法人登记证书-最新年...
+    private List<Attachment> foundationLegalPersonRegistrationCertificateLatest;
+    // 6.3 银行开户证或银行资信证明
+    private List<Attachment> bankAccountCertificateOrCreditCertificate;
+    // 6.4 1A-5A评估等级/资质证书/金...
+    private List<Attachment> evaluationLevelQualificationCertificate;
+    // 6.5 完整章程副本
+    private List<Attachment> completeArticlesOfAssociationCopy;
+    // 6.6 机构“前十大”捐赠方名单
+    private List<Attachment> topTenDonorList;
+    // 6.7 机构“前十大”支出方名单
+    private List<Attachment> topTenSpenderList;
+    // 6.8 机构管理层(法定代表人,理...
+    private List<Attachment> organizationManagement;
+    // 6.9 最近三年财务报表
+    private List<Attachment> financialStatementsForLastThreeYears;
+    // 6.10 关联实体情况
+    private List<Attachment> relatedEntitySituation;
+    // 6.11 机构负责人
+    private List<Attachment> organizationPrincipal;
+    // 6.12 项目信息
+    private List<Attachment> projectInformation;
+    // 6.13 组织结构-扫描件并加盖公章
+    private List<Attachment> organizationalStructureScan;
+    // 6.14 总体保证声明
+    private List<Attachment> overallGuaranteeStatement;
+}

+ 4 - 15
src/main/java/org/example/mybatisplus/module/vo/FinancialIndicator.java

@@ -13,20 +13,9 @@ public class FinancialIndicator {
     private String category;         // 分类(如"运营能力"、"发展能力")
     private String indicatorName;    // 指标名称(如"公益支出比例")
     private String formula;          // 计算公式(如"公益支出/上年基金余额")
-    private Map<Integer, Double> valuesByYear; // 按年份存储的指标值(Key:年份,Value:百分比)
+    private String year1;         //
+    private String year2;    //
+    private String year3;          //
+    private String jun;          // 均值
 
-    // 示例构造方法
-    public FinancialIndicator(String category, String indicatorName, String formula) {
-        this.category = category;
-        this.indicatorName = indicatorName;
-        this.formula = formula;
-        this.valuesByYear = new HashMap<>();
-    }
-
-    // 添加年份数据
-    public void addValue(Integer year, Double value) {
-        valuesByYear.put(year, value);
-    }
-
-    // Getter/Setter省略
 }

+ 39 - 3
src/main/java/org/example/mybatisplus/module/vo/FinancialScore.java

@@ -9,11 +9,47 @@ import java.util.Map;
  */
 @Data
 public class FinancialScore {
+    private String serviceData;
+    // 系统结果
+    private String systemResult;
+    // 系统评分
+    private Integer systemScore;
+    // 复核结果
+    private String reviewResult;
+    // 复核评分
+    private Integer reviewScore;
+    private String serviceData2;
+    // 系统结果
+    private String systemResult2;
+    // 系统评分
+    private Integer systemScore2;
+    // 复核结果
+    private String reviewResult2;
+    // 复核评分
+    private Integer reviewScore2;
+
+    private String serviceData3;
+    // 系统结果
+    private String systemResult3;
+    // 系统评分
+    private Integer systemScore3;
+    // 复核结果
+    private String reviewResult3;
+    // 复核评分
+    private Integer reviewScore3;
+
+
+    private String serviceData4;
+    // 系统结果
+    private String systemResult4;
+    // 系统评分
+    private Integer systemScore4;
+    // 复核结果
+    private String reviewResult4;
+    // 复核评分
+    private Integer reviewScore4;
     private Double totalScore;               // 财务信息总分(如10分)
     private String riskSummary;             // 风险综述(如"发展能力--总收入增长率及公益支出增长率较低")
     private String suggestion;              // 建议(如需要业务补充)
 
-    // 嵌套评分详情(可选,根据需求扩展)
-    private Map<String, Double> categoryScores; // 分类评分(如"运营能力": 6.5, "发展能力": 3.5)
-
 }

+ 1 - 1
src/main/java/org/example/mybatisplus/tools/WordExportDemo.java

@@ -23,7 +23,7 @@ public class WordExportDemo {
             // 2. 添加文本数据
             exporter.addText("data", item);
             exporter.addText("item", item);
-
+            // 2. 添加文本数据
             // 3. 添加图片数据
             exporter.addImage(
                     "G:\\Code\\new\\fxy-tool\\src\\main\\resources\\pic1.png",  // 图片路径

+ 1 - 1
src/main/java/org/example/mybatisplus/tools/WordPoiExporter.java

@@ -31,7 +31,7 @@ public class WordPoiExporter {
             FileOutputStream out = new FileOutputStream(path);
 
             doc.write(out);
-            saveAsPdf(doc, pdfFilePath);
+            //saveAsPdf(doc, pdfFilePath);
             out.close();
         } catch (Exception e) {
             e.printStackTrace();