From 0b0e15e4c91a23e8b6043e9da845c1bde7953f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E7=AB=B9=E7=BA=A2?= Date: Tue, 29 Jul 2025 20:32:54 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9AgetModuleList?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cool/store/entity/MatterConfigDO.java | 276 +----------------- .../vo/notice/MatterAndMatterDetailVO.java | 2 +- .../resources/application-test.properties | 2 +- 3 files changed, 7 insertions(+), 273 deletions(-) diff --git a/coolstore-partner-model/src/main/java/com/cool/store/entity/MatterConfigDO.java b/coolstore-partner-model/src/main/java/com/cool/store/entity/MatterConfigDO.java index a5239081f..b9f2cbe21 100644 --- a/coolstore-partner-model/src/main/java/com/cool/store/entity/MatterConfigDO.java +++ b/coolstore-partner-model/src/main/java/com/cool/store/entity/MatterConfigDO.java @@ -1,9 +1,12 @@ package com.cool.store.entity; +import lombok.Data; + import java.util.Date; import javax.persistence.*; @Table(name = "zxjp_matter_config") +@Data public class MatterConfigDO { /** * 主键ID @@ -34,7 +37,7 @@ public class MatterConfigDO { * 跳转方式(1:H5 2:小程序 ) */ @Column(name = "jump_type") - private Boolean jumpType; + private Integer jumpType; /** * 跳转链接 @@ -45,7 +48,7 @@ public class MatterConfigDO { /** * 状态(0:禁用 1:启用) */ - private Boolean status; + private Integer status; /** * 备注 @@ -93,273 +96,4 @@ public class MatterConfigDO { @Column(name = "default_store_info") private String defaultStoreInfo; - /** - * 获取主键ID - * - * @return id - 主键ID - */ - public Long getId() { - return id; - } - - /** - * 设置主键ID - * - * @param id 主键ID - */ - public void setId(Long id) { - this.id = id; - } - - /** - * 获取模块编码 - * - * @return module_code - 模块编码 - */ - public Integer getModuleCode() { - return moduleCode; - } - - /** - * 设置模块编码 - * - * @param moduleCode 模块编码 - */ - public void setModuleCode(Integer moduleCode) { - this.moduleCode = moduleCode; - } - - /** - * 获取事项类型 - * - * @return matter_type - 事项类型 - */ - public Integer getMatterType() { - return matterType; - } - - /** - * 设置事项类型 - * - * @param matterType 事项类型 - */ - public void setMatterType(Integer matterType) { - this.matterType = matterType; - } - - /** - * 获取系统来源 - * - * @return system_source - 系统来源 - */ - public String getSystemSource() { - return systemSource; - } - - /** - * 设置系统来源 - * - * @param systemSource 系统来源 - */ - public void setSystemSource(String systemSource) { - this.systemSource = systemSource; - } - - /** - * 获取跳转方式(1:H5 2:小程序 ) - * - * @return jump_type - 跳转方式(1:H5 2:小程序 ) - */ - public Boolean getJumpType() { - return jumpType; - } - - /** - * 设置跳转方式(1:H5 2:小程序 ) - * - * @param jumpType 跳转方式(1:H5 2:小程序 ) - */ - public void setJumpType(Boolean jumpType) { - this.jumpType = jumpType; - } - - /** - * 获取跳转链接 - * - * @return jump_url - 跳转链接 - */ - public String getJumpUrl() { - return jumpUrl; - } - - /** - * 设置跳转链接 - * - * @param jumpUrl 跳转链接 - */ - public void setJumpUrl(String jumpUrl) { - this.jumpUrl = jumpUrl; - } - - /** - * 获取状态(0:禁用 1:启用) - * - * @return status - 状态(0:禁用 1:启用) - */ - public Boolean getStatus() { - return status; - } - - /** - * 设置状态(0:禁用 1:启用) - * - * @param status 状态(0:禁用 1:启用) - */ - public void setStatus(Boolean status) { - this.status = status; - } - - /** - * 获取备注 - * - * @return remark - 备注 - */ - public String getRemark() { - return remark; - } - - /** - * 设置备注 - * - * @param remark 备注 - */ - public void setRemark(String remark) { - this.remark = remark; - } - - /** - * 获取创建时间 - * - * @return create_time - 创建时间 - */ - public Date getCreateTime() { - return createTime; - } - - /** - * 设置创建时间 - * - * @param createTime 创建时间 - */ - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - /** - * 获取创建人 - * - * @return create_user_id - 创建人 - */ - public String getCreateUserId() { - return createUserId; - } - - /** - * 设置创建人 - * - * @param createUserId 创建人 - */ - public void setCreateUserId(String createUserId) { - this.createUserId = createUserId; - } - - /** - * 获取更新时间 - * - * @return update_time - 更新时间 - */ - public Date getUpdateTime() { - return updateTime; - } - - /** - * 设置更新时间 - * - * @param updateTime 更新时间 - */ - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; - } - - /** - * 获取更新人 - * - * @return update_user_id - 更新人 - */ - public String getUpdateUserId() { - return updateUserId; - } - - /** - * 设置更新人 - * - * @param updateUserId 更新人 - */ - public void setUpdateUserId(String updateUserId) { - this.updateUserId = updateUserId; - } - - /** - * 获取删除标记(0:未删除 1:已删除) - * - * @return deleted - 删除标记(0:未删除 1:已删除) - */ - public Boolean getDeleted() { - return deleted; - } - - /** - * 设置删除标记(0:未删除 1:已删除) - * - * @param deleted 删除标记(0:未删除 1:已删除) - */ - public void setDeleted(Boolean deleted) { - this.deleted = deleted; - } - - /** - * 获取默认处理人信息 [{type:person,value:}{type:position,value:}] - * - * @return default_handle_person_info - 默认处理人信息 [{type:person,value:}{type:position,value:}] - */ - public String getDefaultHandlePersonInfo() { - return defaultHandlePersonInfo; - } - - /** - * 设置默认处理人信息 [{type:person,value:}{type:position,value:}] - * - * @param defaultHandlePersonInfo 默认处理人信息 [{type:person,value:}{type:position,value:}] - */ - public void setDefaultHandlePersonInfo(String defaultHandlePersonInfo) { - this.defaultHandlePersonInfo = defaultHandlePersonInfo; - } - - /** - * 获取默认门店范围 [{type:store,value:}{type:region,value:}] - * - * @return default_store_info - 默认门店范围 [{type:store,value:}{type:region,value:}] - */ - public String getDefaultStoreInfo() { - return defaultStoreInfo; - } - - /** - * 设置默认门店范围 [{type:store,value:}{type:region,value:}] - * - * @param defaultStoreInfo 默认门店范围 [{type:store,value:}{type:region,value:}] - */ - public void setDefaultStoreInfo(String defaultStoreInfo) { - this.defaultStoreInfo = defaultStoreInfo; - } } \ No newline at end of file diff --git a/coolstore-partner-model/src/main/java/com/cool/store/vo/notice/MatterAndMatterDetailVO.java b/coolstore-partner-model/src/main/java/com/cool/store/vo/notice/MatterAndMatterDetailVO.java index fdf5e8cfd..83ea49cc6 100644 --- a/coolstore-partner-model/src/main/java/com/cool/store/vo/notice/MatterAndMatterDetailVO.java +++ b/coolstore-partner-model/src/main/java/com/cool/store/vo/notice/MatterAndMatterDetailVO.java @@ -30,7 +30,7 @@ public class MatterAndMatterDetailVO { private String jumpUrl; @ApiModelProperty( "状态(0:禁用 1:启用)") - private Boolean status; + private Integer status; @ApiModelProperty( "备注") private String remark; diff --git a/coolstore-partner-web/src/main/resources/application-test.properties b/coolstore-partner-web/src/main/resources/application-test.properties index c3818e5ea..ecdad4489 100644 --- a/coolstore-partner-web/src/main/resources/application-test.properties +++ b/coolstore-partner-web/src/main/resources/application-test.properties @@ -5,7 +5,7 @@ default.datasource.username=coolstore default.datasource.password=CSCErYcXniNYm7bT #redis -redis.host.uri=http://userInfo:Cx111111@tstore-coolcollege.redis.rds.aliyuncs.com:6379/0 +redis.host.uri=http://userInfo:Cx111111@tstore-coolcollege-open.redis.rds.aliyuncs.com:6379/0 #pagehelper pagehelper.helper-dialect=mysql