diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/controller/HwWebController.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/controller/HwWebController.java index c242648..c3d2ba5 100644 --- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/controller/HwWebController.java +++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/controller/HwWebController.java @@ -111,4 +111,5 @@ public class HwWebController extends BaseController { return success(hwWebService.selectHwWebList(HwWeb)) ; } + } diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWebDocument.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWebDocument.java index 39dc096..8326ebc 100644 --- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWebDocument.java +++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWebDocument.java @@ -34,6 +34,12 @@ public class HwWebDocument extends BaseEntity @Excel(name = "密钥") private String secretKey; + /** json */ + private String json; + + /** 文件类型 */ + private String type; + public void setDocumentId(String documentId) { this.documentId = documentId; @@ -80,6 +86,22 @@ public class HwWebDocument extends BaseEntity return secretKey; } + public String getJson() { + return json; + } + + public void setJson(String json) { + this.json = json; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) @@ -89,6 +111,8 @@ public class HwWebDocument extends BaseEntity .append("createTime", getCreateTime()) .append("webCode", getWebCode()) .append("secretKey", getSecretKey()) + .append("json", getJson()) + .append("type", getType()) .toString(); } } diff --git a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebDocumentMapper.xml b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebDocumentMapper.xml index 8bd2fb8..a15ef1b 100644 --- a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebDocumentMapper.xml +++ b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebDocumentMapper.xml @@ -11,10 +11,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + - select document_id, tenant_id, document_address, create_time, web_code, secretKey from hw_web_document + select document_id, tenant_id, document_address, create_time, web_code, secretKey , + json,type + from hw_web_document @@ -42,6 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" create_time, web_code, secretKey, + json, + type, #{documentId}, @@ -50,6 +58,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{createTime}, #{webCode}, #{secretKey}, + #{json}, + #{type}, @@ -62,6 +72,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" create_time = #{createTime}, web_code = #{webCode}, secretKey = #{secretKey}, + json = #{json}, + type = #{type}, where document_id = #{documentId}