浏览代码

feature 修改请求方式

xiahan 13 小时之前
父节点
当前提交
7fba3d71dd

+ 1 - 1
qhse-common/src/main/java/com/rongwei/bscommon/sys/service/impl/QhseTargetResponsibilityDocumentServiceImpl.java

@@ -130,7 +130,7 @@ public class QhseTargetResponsibilityDocumentServiceImpl extends ServiceImpl<Qhs
             PdfSaveOptions options = new PdfSaveOptions();
             options.setCompliance(PdfCompliance.PDF_A_1_A); // 设置PDF/A-1a标准
             // 3. 直接输出到响应流(避免中间文件)
-            SaveOutputParameters save = doc.save(out, com.aspose.words.SaveFormat.PDF);
+            doc.save(out, com.aspose.words.SaveFormat.PDF);
             // 4. 强制刷新缓冲区(确保数据完整传输)
             out.flush();
         } catch (Exception e) {

+ 113 - 0
qhse-entity/src/main/java/com/rongwei/bsentity/domain/QhseTargetResponsibilityDocumentDo.java

@@ -0,0 +1,113 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.util.Date;
+
+import com.rongwei.rwcommon.base.BaseDo;
+import lombok.Data;
+
+/**
+ * 目标责任书
+ * @TableName qhse_target_responsibility_document
+ */
+@TableName(value ="qhse_target_responsibility_document")
+@Data
+public class QhseTargetResponsibilityDocumentDo extends BaseDo {
+    /**
+     * 主键ID
+     */
+    @TableId
+    private String id;
+
+    /**
+     * 租户ID
+     */
+    private String tenantid;
+
+    /**
+     * 扩展json格式配置
+     */
+    private String roption;
+
+
+    /**
+     * 年份
+     */
+    private Integer year;
+
+    /**
+     * 责任书名称
+     */
+    private String responsibilitydocumentname;
+
+    /**
+     * 甲方ID
+     */
+    private String partyaid;
+
+    /**
+     * 甲方名称
+     */
+    private String partyaname;
+
+    /**
+     * 截止时间
+     */
+    private Date cutofftime;
+
+    /**
+     * 责任书附件
+     */
+    private String responsibilityfiles;
+
+    /**
+     * 乙方ID
+     */
+    private String partybid;
+
+    /**
+     * 乙方名称
+     */
+    private String partybname;
+
+    /**
+     * 部门ID
+     */
+    private String deptid;
+
+    /**
+     * 部门名称
+     */
+    private String deptname;
+
+    /**
+     * 已签字人名称
+     */
+    private String signedname;
+
+    /**
+     * 已签字人ID
+     */
+    private String signedid;
+
+    /**
+     * 未签字人ID
+     */
+    private String unsignedid;
+
+    /**
+     * 未签字人名称
+     */
+    private String unsignedname;
+
+    /**
+     * 发布时间
+     */
+    private Date releasetime;
+
+    /**
+     * 发布状态(已发布,未发布)
+     */
+    private String publishedstatus;
+}

+ 46 - 0
qhse-entity/src/main/java/com/rongwei/bsentity/domain/QhseTargetResponsibilityDocumentSignatureDo.java

@@ -0,0 +1,46 @@
+package com.rongwei.bsentity.domain;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import com.rongwei.rwcommon.base.BaseDo;
+import lombok.Data;
+
+/**
+ * 目标责任书签名子表
+ * @TableName qhse_target_responsibility_document_signature
+ */
+@TableName(value ="qhse_target_responsibility_document_signature")
+@Data
+public class QhseTargetResponsibilityDocumentSignatureDo extends BaseDo {
+    /**
+     * 主键ID
+     */
+    @TableId
+    private String id;
+
+    /**
+     * 租户ID
+     */
+    private String tenantid;
+
+    /**
+     * 扩展json格式配置
+     */
+    private String roption;
+
+    /**
+     * 签名
+     */
+    private String signature;
+
+    /**
+     * 签名来源(甲方/乙方)
+     */
+    private String signaturesource;
+
+    /**
+     * 目标责任书ID
+     */
+    private String mainid;
+}