feat:事项配置
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.dto.notice;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 15:27
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class CommonDTO {
|
||||
|
||||
@ApiModelProperty("类型")
|
||||
private String type;
|
||||
@ApiModelProperty("ID值")
|
||||
private String value;
|
||||
@ApiModelProperty("名称")
|
||||
private String name;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,365 @@
|
||||
package com.cool.store.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Table(name = "zxjp_matter_config")
|
||||
public class MatterConfigDO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 模块编码
|
||||
*/
|
||||
@Column(name = "module_code")
|
||||
private Integer moduleCode;
|
||||
|
||||
/**
|
||||
* 事项类型
|
||||
*/
|
||||
@Column(name = "matter_type")
|
||||
private Integer matterType;
|
||||
|
||||
/**
|
||||
* 系统来源
|
||||
*/
|
||||
@Column(name = "system_source")
|
||||
private String systemSource;
|
||||
|
||||
/**
|
||||
* 跳转方式(1:H5 2:小程序 )
|
||||
*/
|
||||
@Column(name = "jump_type")
|
||||
private Boolean jumpType;
|
||||
|
||||
/**
|
||||
* 跳转链接
|
||||
*/
|
||||
@Column(name = "jump_url")
|
||||
private String jumpUrl;
|
||||
|
||||
/**
|
||||
* 状态(0:禁用 1:启用)
|
||||
*/
|
||||
private Boolean status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column(name = "create_time")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Column(name = "create_user_id")
|
||||
private String createUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column(name = "update_time")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
@Column(name = "update_user_id")
|
||||
private String updateUserId;
|
||||
|
||||
/**
|
||||
* 删除标记(0:未删除 1:已删除)
|
||||
*/
|
||||
private Boolean deleted;
|
||||
|
||||
/**
|
||||
* 默认处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*/
|
||||
@Column(name = "default_handle_person_info")
|
||||
private String defaultHandlePersonInfo;
|
||||
|
||||
/**
|
||||
* 默认门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*/
|
||||
@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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,582 @@
|
||||
package com.cool.store.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Table(name = "zxjp_message_template")
|
||||
public class MessageTemplateDO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 消息编码(唯一标识)
|
||||
*/
|
||||
@Column(name = "message_code")
|
||||
private String messageCode;
|
||||
|
||||
/**
|
||||
* 模块编码
|
||||
*/
|
||||
@Column(name = "module_code")
|
||||
private Integer moduleCode;
|
||||
|
||||
/**
|
||||
* 事项类型
|
||||
*/
|
||||
@Column(name = "matter_type")
|
||||
private Integer matterType;
|
||||
|
||||
/**
|
||||
* 消息标题
|
||||
*/
|
||||
@Column(name = "message_title")
|
||||
private String messageTitle;
|
||||
|
||||
/**
|
||||
* 系统来源
|
||||
*/
|
||||
@Column(name = "system_source")
|
||||
private String systemSource;
|
||||
|
||||
/**
|
||||
* 处理类型(1:仅阅读 2:需要处理)
|
||||
*/
|
||||
@Column(name = "process_type")
|
||||
private Integer processType;
|
||||
|
||||
/**
|
||||
* 提醒类型(1:持续提醒 2:阶段提醒 )
|
||||
*/
|
||||
@Column(name = "remind_type")
|
||||
private Integer remindType;
|
||||
|
||||
/**
|
||||
* 提醒时间段 开始时间
|
||||
*/
|
||||
@Column(name = "remind_start_time")
|
||||
private Date remindStartTime;
|
||||
|
||||
/**
|
||||
* 提醒时间段 结束时间
|
||||
*/
|
||||
@Column(name = "remind_end_time")
|
||||
private Date remindEndTime;
|
||||
|
||||
/**
|
||||
* 截止日期
|
||||
*/
|
||||
private Date deadline;
|
||||
|
||||
/**
|
||||
* 今日必办标识(0:否 1:是)
|
||||
*/
|
||||
@Column(name = "today_task")
|
||||
private Boolean todayTask;
|
||||
|
||||
/**
|
||||
* 消息图片URL
|
||||
*/
|
||||
@Column(name = "message_image")
|
||||
private String messageImage;
|
||||
|
||||
/**
|
||||
* 发布状态(0:未发布 1:已发布 2:已撤销)
|
||||
*/
|
||||
@Column(name = "publish_status")
|
||||
private Boolean publishStatus;
|
||||
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
@Column(name = "publish_time")
|
||||
private Date publishTime;
|
||||
|
||||
/**
|
||||
* 发布人ID
|
||||
*/
|
||||
@Column(name = "publisher_user_id")
|
||||
private Long publisherUserId;
|
||||
|
||||
/**
|
||||
* 创建人ID
|
||||
*/
|
||||
@Column(name = "create_user_id")
|
||||
private Long createUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column(name = "create_time")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新人ID
|
||||
*/
|
||||
@Column(name = "updater_user_id")
|
||||
private Long updaterUserId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column(name = "update_time")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 删除标记(0:未删除 1:已删除)
|
||||
*/
|
||||
private Boolean deleted;
|
||||
|
||||
/**
|
||||
* 消息详情(富文本内容)
|
||||
*/
|
||||
@Column(name = "message_content")
|
||||
private String messageContent;
|
||||
|
||||
/**
|
||||
* 处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*/
|
||||
@Column(name = "handle_person_info")
|
||||
private String handlePersonInfo;
|
||||
|
||||
/**
|
||||
* 门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*/
|
||||
@Column(name = "store_info")
|
||||
private String storeInfo;
|
||||
|
||||
/**
|
||||
* 获取主键ID
|
||||
*
|
||||
* @return id - 主键ID
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置主键ID
|
||||
*
|
||||
* @param id 主键ID
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取消息编码(唯一标识)
|
||||
*
|
||||
* @return message_code - 消息编码(唯一标识)
|
||||
*/
|
||||
public String getMessageCode() {
|
||||
return messageCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置消息编码(唯一标识)
|
||||
*
|
||||
* @param messageCode 消息编码(唯一标识)
|
||||
*/
|
||||
public void setMessageCode(String messageCode) {
|
||||
this.messageCode = messageCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取模块编码
|
||||
*
|
||||
* @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 message_title - 消息标题
|
||||
*/
|
||||
public String getMessageTitle() {
|
||||
return messageTitle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置消息标题
|
||||
*
|
||||
* @param messageTitle 消息标题
|
||||
*/
|
||||
public void setMessageTitle(String messageTitle) {
|
||||
this.messageTitle = messageTitle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统来源
|
||||
*
|
||||
* @return system_source - 系统来源
|
||||
*/
|
||||
public String getSystemSource() {
|
||||
return systemSource;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置系统来源
|
||||
*
|
||||
* @param systemSource 系统来源
|
||||
*/
|
||||
public void setSystemSource(String systemSource) {
|
||||
this.systemSource = systemSource;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处理类型(1:仅阅读 2:需要处理)
|
||||
*
|
||||
* @return process_type - 处理类型(1:仅阅读 2:需要处理)
|
||||
*/
|
||||
public Integer getProcessType() {
|
||||
return processType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置处理类型(1:仅阅读 2:需要处理)
|
||||
*
|
||||
* @param processType 处理类型(1:仅阅读 2:需要处理)
|
||||
*/
|
||||
public void setProcessType(Integer processType) {
|
||||
this.processType = processType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取提醒类型(1:持续提醒 2:阶段提醒 )
|
||||
*
|
||||
* @return remind_type - 提醒类型(1:持续提醒 2:阶段提醒 )
|
||||
*/
|
||||
public Integer getRemindType() {
|
||||
return remindType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置提醒类型(1:持续提醒 2:阶段提醒 )
|
||||
*
|
||||
* @param remindType 提醒类型(1:持续提醒 2:阶段提醒 )
|
||||
*/
|
||||
public void setRemindType(Integer remindType) {
|
||||
this.remindType = remindType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取提醒时间段 开始时间
|
||||
*
|
||||
* @return remind_start_time - 提醒时间段 开始时间
|
||||
*/
|
||||
public Date getRemindStartTime() {
|
||||
return remindStartTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置提醒时间段 开始时间
|
||||
*
|
||||
* @param remindStartTime 提醒时间段 开始时间
|
||||
*/
|
||||
public void setRemindStartTime(Date remindStartTime) {
|
||||
this.remindStartTime = remindStartTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取提醒时间段 结束时间
|
||||
*
|
||||
* @return remind_end_time - 提醒时间段 结束时间
|
||||
*/
|
||||
public Date getRemindEndTime() {
|
||||
return remindEndTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置提醒时间段 结束时间
|
||||
*
|
||||
* @param remindEndTime 提醒时间段 结束时间
|
||||
*/
|
||||
public void setRemindEndTime(Date remindEndTime) {
|
||||
this.remindEndTime = remindEndTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取截止日期
|
||||
*
|
||||
* @return deadline - 截止日期
|
||||
*/
|
||||
public Date getDeadline() {
|
||||
return deadline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置截止日期
|
||||
*
|
||||
* @param deadline 截止日期
|
||||
*/
|
||||
public void setDeadline(Date deadline) {
|
||||
this.deadline = deadline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取今日必办标识(0:否 1:是)
|
||||
*
|
||||
* @return today_task - 今日必办标识(0:否 1:是)
|
||||
*/
|
||||
public Boolean getTodayTask() {
|
||||
return todayTask;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置今日必办标识(0:否 1:是)
|
||||
*
|
||||
* @param todayTask 今日必办标识(0:否 1:是)
|
||||
*/
|
||||
public void setTodayTask(Boolean todayTask) {
|
||||
this.todayTask = todayTask;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取消息图片URL
|
||||
*
|
||||
* @return message_image - 消息图片URL
|
||||
*/
|
||||
public String getMessageImage() {
|
||||
return messageImage;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置消息图片URL
|
||||
*
|
||||
* @param messageImage 消息图片URL
|
||||
*/
|
||||
public void setMessageImage(String messageImage) {
|
||||
this.messageImage = messageImage;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取发布状态(0:未发布 1:已发布 2:已撤销)
|
||||
*
|
||||
* @return publish_status - 发布状态(0:未发布 1:已发布 2:已撤销)
|
||||
*/
|
||||
public Boolean getPublishStatus() {
|
||||
return publishStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置发布状态(0:未发布 1:已发布 2:已撤销)
|
||||
*
|
||||
* @param publishStatus 发布状态(0:未发布 1:已发布 2:已撤销)
|
||||
*/
|
||||
public void setPublishStatus(Boolean publishStatus) {
|
||||
this.publishStatus = publishStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取发布时间
|
||||
*
|
||||
* @return publish_time - 发布时间
|
||||
*/
|
||||
public Date getPublishTime() {
|
||||
return publishTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置发布时间
|
||||
*
|
||||
* @param publishTime 发布时间
|
||||
*/
|
||||
public void setPublishTime(Date publishTime) {
|
||||
this.publishTime = publishTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取发布人ID
|
||||
*
|
||||
* @return publisher_user_id - 发布人ID
|
||||
*/
|
||||
public Long getPublisherUserId() {
|
||||
return publisherUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置发布人ID
|
||||
*
|
||||
* @param publisherUserId 发布人ID
|
||||
*/
|
||||
public void setPublisherUserId(Long publisherUserId) {
|
||||
this.publisherUserId = publisherUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取创建人ID
|
||||
*
|
||||
* @return create_user_id - 创建人ID
|
||||
*/
|
||||
public Long getCreateUserId() {
|
||||
return createUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置创建人ID
|
||||
*
|
||||
* @param createUserId 创建人ID
|
||||
*/
|
||||
public void setCreateUserId(Long createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取创建时间
|
||||
*
|
||||
* @return create_time - 创建时间
|
||||
*/
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置创建时间
|
||||
*
|
||||
* @param createTime 创建时间
|
||||
*/
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取更新人ID
|
||||
*
|
||||
* @return updater_user_id - 更新人ID
|
||||
*/
|
||||
public Long getUpdaterUserId() {
|
||||
return updaterUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置更新人ID
|
||||
*
|
||||
* @param updaterUserId 更新人ID
|
||||
*/
|
||||
public void setUpdaterUserId(Long updaterUserId) {
|
||||
this.updaterUserId = updaterUserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取更新时间
|
||||
*
|
||||
* @return update_time - 更新时间
|
||||
*/
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置更新时间
|
||||
*
|
||||
* @param updateTime 更新时间
|
||||
*/
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取删除标记(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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取消息详情(富文本内容)
|
||||
*
|
||||
* @return message_content - 消息详情(富文本内容)
|
||||
*/
|
||||
public String getMessageContent() {
|
||||
return messageContent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置消息详情(富文本内容)
|
||||
*
|
||||
* @param messageContent 消息详情(富文本内容)
|
||||
*/
|
||||
public void setMessageContent(String messageContent) {
|
||||
this.messageContent = messageContent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*
|
||||
* @return handle_person_info - 处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*/
|
||||
public String getHandlePersonInfo() {
|
||||
return handlePersonInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*
|
||||
* @param handlePersonInfo 处理人信息 [{type:person,value:}{type:position,value:}]
|
||||
*/
|
||||
public void setHandlePersonInfo(String handlePersonInfo) {
|
||||
this.handlePersonInfo = handlePersonInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*
|
||||
* @return store_info - 门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*/
|
||||
public String getStoreInfo() {
|
||||
return storeInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*
|
||||
* @param storeInfo 门店范围 [{type:store,value:}{type:region,value:}]
|
||||
*/
|
||||
public void setStoreInfo(String storeInfo) {
|
||||
this.storeInfo = storeInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,440 @@
|
||||
package com.cool.store.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Table(name = "zxjp_store_message")
|
||||
public class StoreMessageDO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 门店编码
|
||||
*/
|
||||
@Column(name = "store_id")
|
||||
private String storeId;
|
||||
|
||||
/**
|
||||
* 门店编码
|
||||
*/
|
||||
@Column(name = "store_code")
|
||||
private String storeCode;
|
||||
|
||||
/**
|
||||
* 门店名称
|
||||
*/
|
||||
@Column(name = "store_name")
|
||||
private String storeName;
|
||||
|
||||
/**
|
||||
* 关联的消息模板ID
|
||||
*/
|
||||
@Column(name = "message_template_id")
|
||||
private Long messageTemplateId;
|
||||
|
||||
/**
|
||||
* 阅读状态(0:未读 1:已读)
|
||||
*/
|
||||
@Column(name = "read_status")
|
||||
private Boolean readStatus;
|
||||
|
||||
/**
|
||||
* 阅读时间
|
||||
*/
|
||||
@Column(name = "read_time")
|
||||
private Date readTime;
|
||||
|
||||
/**
|
||||
* 处理状态(0:未处理 1:处理中)
|
||||
*/
|
||||
@Column(name = "process_status")
|
||||
private Integer processStatus;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@Column(name = "process_time")
|
||||
private Date processTime;
|
||||
|
||||
/**
|
||||
* 实际操作人ID
|
||||
*/
|
||||
@Column(name = "actual_operator_id")
|
||||
private Long actualOperatorId;
|
||||
|
||||
/**
|
||||
* 实际操作人姓名
|
||||
*/
|
||||
@Column(name = "actual_operator_name")
|
||||
private String actualOperatorName;
|
||||
|
||||
/**
|
||||
* 撤销状态(0:未撤销 1:已撤销)
|
||||
*/
|
||||
@Column(name = "revoke_status")
|
||||
private Boolean revokeStatus;
|
||||
|
||||
/**
|
||||
* 撤销时间
|
||||
*/
|
||||
@Column(name = "revoke_time")
|
||||
private Date revokeTime;
|
||||
|
||||
/**
|
||||
* 撤销操作人ID
|
||||
*/
|
||||
@Column(name = "revoke_operator_id")
|
||||
private Long revokeOperatorId;
|
||||
|
||||
/**
|
||||
* 撤销操作人姓名
|
||||
*/
|
||||
@Column(name = "revoke_operator_name")
|
||||
private String revokeOperatorName;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Column(name = "create_time")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@Column(name = "update_time")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 操作人列表 逗号隔开
|
||||
*/
|
||||
@Column(name = "operator_list")
|
||||
private String operatorList;
|
||||
|
||||
/**
|
||||
* 获取主键ID
|
||||
*
|
||||
* @return id - 主键ID
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置主键ID
|
||||
*
|
||||
* @param id 主键ID
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门店编码
|
||||
*
|
||||
* @return store_id - 门店编码
|
||||
*/
|
||||
public String getStoreId() {
|
||||
return storeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置门店编码
|
||||
*
|
||||
* @param storeId 门店编码
|
||||
*/
|
||||
public void setStoreId(String storeId) {
|
||||
this.storeId = storeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门店编码
|
||||
*
|
||||
* @return store_code - 门店编码
|
||||
*/
|
||||
public String getStoreCode() {
|
||||
return storeCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置门店编码
|
||||
*
|
||||
* @param storeCode 门店编码
|
||||
*/
|
||||
public void setStoreCode(String storeCode) {
|
||||
this.storeCode = storeCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取门店名称
|
||||
*
|
||||
* @return store_name - 门店名称
|
||||
*/
|
||||
public String getStoreName() {
|
||||
return storeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置门店名称
|
||||
*
|
||||
* @param storeName 门店名称
|
||||
*/
|
||||
public void setStoreName(String storeName) {
|
||||
this.storeName = storeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取关联的消息模板ID
|
||||
*
|
||||
* @return message_template_id - 关联的消息模板ID
|
||||
*/
|
||||
public Long getMessageTemplateId() {
|
||||
return messageTemplateId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置关联的消息模板ID
|
||||
*
|
||||
* @param messageTemplateId 关联的消息模板ID
|
||||
*/
|
||||
public void setMessageTemplateId(Long messageTemplateId) {
|
||||
this.messageTemplateId = messageTemplateId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取阅读状态(0:未读 1:已读)
|
||||
*
|
||||
* @return read_status - 阅读状态(0:未读 1:已读)
|
||||
*/
|
||||
public Boolean getReadStatus() {
|
||||
return readStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置阅读状态(0:未读 1:已读)
|
||||
*
|
||||
* @param readStatus 阅读状态(0:未读 1:已读)
|
||||
*/
|
||||
public void setReadStatus(Boolean readStatus) {
|
||||
this.readStatus = readStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取阅读时间
|
||||
*
|
||||
* @return read_time - 阅读时间
|
||||
*/
|
||||
public Date getReadTime() {
|
||||
return readTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置阅读时间
|
||||
*
|
||||
* @param readTime 阅读时间
|
||||
*/
|
||||
public void setReadTime(Date readTime) {
|
||||
this.readTime = readTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处理状态(0:未处理 1:处理中)
|
||||
*
|
||||
* @return process_status - 处理状态(0:未处理 1:处理中)
|
||||
*/
|
||||
public Integer getProcessStatus() {
|
||||
return processStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置处理状态(0:未处理 1:处理中)
|
||||
*
|
||||
* @param processStatus 处理状态(0:未处理 1:处理中)
|
||||
*/
|
||||
public void setProcessStatus(Integer processStatus) {
|
||||
this.processStatus = processStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处理时间
|
||||
*
|
||||
* @return process_time - 处理时间
|
||||
*/
|
||||
public Date getProcessTime() {
|
||||
return processTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置处理时间
|
||||
*
|
||||
* @param processTime 处理时间
|
||||
*/
|
||||
public void setProcessTime(Date processTime) {
|
||||
this.processTime = processTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取实际操作人ID
|
||||
*
|
||||
* @return actual_operator_id - 实际操作人ID
|
||||
*/
|
||||
public Long getActualOperatorId() {
|
||||
return actualOperatorId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置实际操作人ID
|
||||
*
|
||||
* @param actualOperatorId 实际操作人ID
|
||||
*/
|
||||
public void setActualOperatorId(Long actualOperatorId) {
|
||||
this.actualOperatorId = actualOperatorId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取实际操作人姓名
|
||||
*
|
||||
* @return actual_operator_name - 实际操作人姓名
|
||||
*/
|
||||
public String getActualOperatorName() {
|
||||
return actualOperatorName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置实际操作人姓名
|
||||
*
|
||||
* @param actualOperatorName 实际操作人姓名
|
||||
*/
|
||||
public void setActualOperatorName(String actualOperatorName) {
|
||||
this.actualOperatorName = actualOperatorName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取撤销状态(0:未撤销 1:已撤销)
|
||||
*
|
||||
* @return revoke_status - 撤销状态(0:未撤销 1:已撤销)
|
||||
*/
|
||||
public Boolean getRevokeStatus() {
|
||||
return revokeStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置撤销状态(0:未撤销 1:已撤销)
|
||||
*
|
||||
* @param revokeStatus 撤销状态(0:未撤销 1:已撤销)
|
||||
*/
|
||||
public void setRevokeStatus(Boolean revokeStatus) {
|
||||
this.revokeStatus = revokeStatus;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取撤销时间
|
||||
*
|
||||
* @return revoke_time - 撤销时间
|
||||
*/
|
||||
public Date getRevokeTime() {
|
||||
return revokeTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置撤销时间
|
||||
*
|
||||
* @param revokeTime 撤销时间
|
||||
*/
|
||||
public void setRevokeTime(Date revokeTime) {
|
||||
this.revokeTime = revokeTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取撤销操作人ID
|
||||
*
|
||||
* @return revoke_operator_id - 撤销操作人ID
|
||||
*/
|
||||
public Long getRevokeOperatorId() {
|
||||
return revokeOperatorId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置撤销操作人ID
|
||||
*
|
||||
* @param revokeOperatorId 撤销操作人ID
|
||||
*/
|
||||
public void setRevokeOperatorId(Long revokeOperatorId) {
|
||||
this.revokeOperatorId = revokeOperatorId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取撤销操作人姓名
|
||||
*
|
||||
* @return revoke_operator_name - 撤销操作人姓名
|
||||
*/
|
||||
public String getRevokeOperatorName() {
|
||||
return revokeOperatorName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置撤销操作人姓名
|
||||
*
|
||||
* @param revokeOperatorName 撤销操作人姓名
|
||||
*/
|
||||
public void setRevokeOperatorName(String revokeOperatorName) {
|
||||
this.revokeOperatorName = revokeOperatorName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取创建时间
|
||||
*
|
||||
* @return create_time - 创建时间
|
||||
*/
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置创建时间
|
||||
*
|
||||
* @param createTime 创建时间
|
||||
*/
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取更新时间
|
||||
*
|
||||
* @return update_time - 更新时间
|
||||
*/
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置更新时间
|
||||
*
|
||||
* @param updateTime 更新时间
|
||||
*/
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取操作人列表 逗号隔开
|
||||
*
|
||||
* @return operator_list - 操作人列表 逗号隔开
|
||||
*/
|
||||
public String getOperatorList() {
|
||||
return operatorList;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置操作人列表 逗号隔开
|
||||
*
|
||||
* @param operatorList 操作人列表 逗号隔开
|
||||
*/
|
||||
public void setOperatorList(String operatorList) {
|
||||
this.operatorList = operatorList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.cool.store.request.notice;
|
||||
|
||||
import com.aliyun.teautil.Common;
|
||||
import com.cool.store.dto.notice.CommonDTO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 15:23
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class MatterConfigAddRequest {
|
||||
|
||||
@ApiModelProperty( "Id 新增忽略")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty( "模块CODE")
|
||||
private Integer moduleCode;
|
||||
|
||||
@ApiModelProperty( "事项类型")
|
||||
private Integer matterType;
|
||||
|
||||
@ApiModelProperty( "系统来源")
|
||||
private String systemSource;
|
||||
|
||||
@ApiModelProperty( "1:H5 2:小程序")
|
||||
private Boolean jumpType;
|
||||
|
||||
@ApiModelProperty( "跳转链接")
|
||||
private String jumpUrl;
|
||||
|
||||
@ApiModelProperty( "状态(0:禁用 1:启用)")
|
||||
private Boolean status;
|
||||
|
||||
@ApiModelProperty( "备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty( "默认门店范围 type[region store group]")
|
||||
List<CommonDTO> storeInfoList;
|
||||
|
||||
@ApiModelProperty( "默认处理人信息 type[person position userGroup organization]")
|
||||
List<CommonDTO> userInfoList;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.cool.store.request.notice;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 16:47
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class MatterConfigDeletedRequest {
|
||||
|
||||
private List<Long> ids;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.cool.store.request.notice;
|
||||
|
||||
import com.cool.store.common.PageBasicInfo;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 14:36
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class MatterConfigQueryRequest extends PageBasicInfo {
|
||||
|
||||
private Integer moduleCode;
|
||||
|
||||
private Integer matterType;
|
||||
|
||||
private String systemSource;
|
||||
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package com.cool.store.vo.notice;
|
||||
|
||||
import com.cool.store.dto.notice.CommonDTO;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 16:50
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class MatterAndMatterDetailVO {
|
||||
|
||||
@ApiModelProperty( "模块CODE")
|
||||
private Integer moduleCode;
|
||||
|
||||
@ApiModelProperty( "事项类型")
|
||||
private Integer matterType;
|
||||
|
||||
@ApiModelProperty( "系统来源")
|
||||
private String systemSource;
|
||||
|
||||
@ApiModelProperty( "1:H5 2:小程序")
|
||||
private Boolean jumpType;
|
||||
|
||||
@ApiModelProperty( "跳转链接")
|
||||
private String jumpUrl;
|
||||
|
||||
@ApiModelProperty( "状态(0:禁用 1:启用)")
|
||||
private Boolean status;
|
||||
|
||||
@ApiModelProperty( "备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty( "默认门店范围 type[region store group]")
|
||||
List<CommonDTO> storeInfoList;
|
||||
|
||||
@ApiModelProperty( "默认处理人信息 type[person position userGroup organization]")
|
||||
List<CommonDTO> userInfoList;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.cool.store.vo.notice;
|
||||
|
||||
import com.cool.store.enums.notice.MatterTypeEnum;
|
||||
import com.cool.store.enums.notice.ModuleCodeEnum;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2025/7/24 16:26
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class ModuleAndMatterVO {
|
||||
|
||||
private Integer moduleCode;
|
||||
|
||||
private String moduleName;
|
||||
|
||||
private List<MatterTypeVO> matterTypeList;
|
||||
|
||||
public ModuleAndMatterVO(Integer moduleCode, String moduleName, List<MatterTypeVO> matterTypeList) {
|
||||
this.moduleCode = moduleCode;
|
||||
this.moduleName = moduleName;
|
||||
this.matterTypeList = matterTypeList;
|
||||
}
|
||||
|
||||
@Data
|
||||
static class MatterTypeVO{
|
||||
private Integer matterTypeCode;
|
||||
private String matterTypeName;
|
||||
public MatterTypeVO(Integer matterTypeCode, String matterTypeName) {
|
||||
this.matterTypeCode = matterTypeCode;
|
||||
this.matterTypeName = matterTypeName;
|
||||
}
|
||||
}
|
||||
|
||||
public static List<ModuleAndMatterVO> getModuleAndMatterList() {
|
||||
return Arrays.stream(ModuleCodeEnum.values())
|
||||
.map(module -> new ModuleAndMatterVO(
|
||||
module.getCode(),
|
||||
module.getMessage(),
|
||||
convertMatterTypes(module.getMatterTypeEnums())
|
||||
))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
private static List<MatterTypeVO> convertMatterTypes(List<MatterTypeEnum> matterTypeEnums) {
|
||||
return matterTypeEnums.stream()
|
||||
.map(matterType -> new MatterTypeVO(
|
||||
matterType.getCode(),
|
||||
matterType.getMessage()
|
||||
))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user