diff --git a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxSystemSetting.java b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxSystemSetting.java index bcbbb4a..83dea0d 100644 --- a/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxSystemSetting.java +++ b/flossom-common/flossom-common-core/src/main/java/com/flossom/common/core/domain/entity/WxSystemSetting.java @@ -37,6 +37,8 @@ public class WxSystemSetting extends BaseEntity { @Excel(name = "说明") private String instructions; + private String pictureUrl; + /** * 状态(0正常 1停用) */ @@ -83,6 +85,14 @@ public class WxSystemSetting extends BaseEntity { return status; } + public String getPictureUrl() { + return pictureUrl; + } + + public void setPictureUrl(String pictureUrl) { + this.pictureUrl = pictureUrl; + } + @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) @@ -91,6 +101,7 @@ public class WxSystemSetting extends BaseEntity { .append("value", getValue()) .append("instructions", getInstructions()) .append("status", getStatus()) + .append("pictureUrl", getPictureUrl()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) diff --git a/flossom-common/flossom-common-hzMapper/src/main/java/com/flossom/hzMapper/Enums/SystemSettingKeyEnum.java b/flossom-common/flossom-common-hzMapper/src/main/java/com/flossom/hzMapper/Enums/SystemSettingKeyEnum.java index 7f12f79..116e366 100644 --- a/flossom-common/flossom-common-hzMapper/src/main/java/com/flossom/hzMapper/Enums/SystemSettingKeyEnum.java +++ b/flossom-common/flossom-common-hzMapper/src/main/java/com/flossom/hzMapper/Enums/SystemSettingKeyEnum.java @@ -9,7 +9,8 @@ public enum SystemSettingKeyEnum { INTEGRAL_RULE("INTEGRAL_RULE", "积分规则"), ABOUT_US("ABOUT_US", "关于我们"), BLUETOOTH_GUIDANCE_PERMISSIONS("BLUETOOTH_GUIDANCE_PERMISSIONS", "蓝牙指引权限"), - LOCATION_GUIDANCE_PERMISSIONS("LOCATION_GUIDANCE_PERMISSIONS", "定位指引权限"); + LOCATION_GUIDANCE_PERMISSIONS("LOCATION_GUIDANCE_PERMISSIONS", "定位指引权限"), + CONTACT_WORKER("CONTACT_WORKER", "联系客服"); private final String key; private final String remark; diff --git a/flossom-common/flossom-common-hzMapper/src/main/resources/mapper/hzMapper/WxSystemSettingMapper.xml b/flossom-common/flossom-common-hzMapper/src/main/resources/mapper/hzMapper/WxSystemSettingMapper.xml index 18fa5a8..20454f9 100644 --- a/flossom-common/flossom-common-hzMapper/src/main/resources/mapper/hzMapper/WxSystemSettingMapper.xml +++ b/flossom-common/flossom-common-hzMapper/src/main/resources/mapper/hzMapper/WxSystemSettingMapper.xml @@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -18,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, `key`, `value`, instructions, status, create_by, create_time, update_by, update_time, remark from wx_system_setting + select id, `key`, `value`, instructions, picture_url, status, create_by, create_time, update_by, update_time, remark from wx_system_setting