diff --git a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWeb.java b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWeb.java
index 3650335..e2276ba 100644
--- a/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWeb.java
+++ b/ruoyi-modules/hw-portal/src/main/java/com/ruoyi/portal/domain/HwWeb.java
@@ -22,6 +22,10 @@ public class HwWeb extends BaseEntity
@Excel(name = "json")
private String webJson;
+ /** json字符串 */
+ @Excel(name = "json字符串")
+ private String webJsonString;
+
public void setWebId(Long webId)
{
this.webId = webId;
@@ -40,12 +44,22 @@ public class HwWeb extends BaseEntity
{
return webJson;
}
+ public void setWebJsonString(String webJsonString)
+ {
+ this.webJsonString = webJsonString;
+ }
+
+ public String getWebJsonString()
+ {
+ return webJsonString;
+ }
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("webId", getWebId())
.append("webJson", getWebJson())
+ .append("webJsonString", getWebJsonString())
.toString();
}
}
diff --git a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper.xml b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper.xml
index aa09e41..30e8661 100644
--- a/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper.xml
+++ b/ruoyi-modules/hw-portal/src/main/resources/mapper/portal/HwWebMapper.xml
@@ -7,16 +7,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
- select web_id, web_json from hw_web
+ select web_id, web_json, web_json_string from hw_web
@@ -29,9 +31,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into hw_web
web_json,
+ web_json_string,
#{webJson},
+ #{webJsonString},
@@ -39,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update hw_web
web_json = #{webJson},
+ web_json_string = #{webJsonString},
where web_id = #{webId}