+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentArticlesMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentArticlesTagsMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentCategoriesMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentDoctorMessageMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentMessageTemplateMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentTagsMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentTemplateMessageTagsMapper extends BaseMapper+ * Mapper接口 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Repository +public interface ContentTemplateVersionMapper extends BaseMapper+ * 图文信息 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_ARTICLES") +public class ContentArticles implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 栏目ID + */ + @TableField(value="CATEGORY_ID") + private String categoryId; + /** + * 分类:1:孕期,2:育儿,3:其它 + */ + @TableField(value="TYPE") + private String type; + /** + * 排序 + */ + @TableField(value="WEIGHT") + private String weight; + /** + * 封面 + */ + @TableField(value="IMAGE") + private String image; + /** + * 标题 + */ + @TableField(value="TITLE") + private String title; + /** + * 摘要 + */ + @TableField(value="INTRODUCTION") + private String introduction; + /** + * 正文 + */ + @TableField(value="CONTENT") + private String content; + /** + * 链接 + */ + @TableField(value="LINK") + private String link; + /** + * 审核状态 + */ + @TableField(value="STATUS") + private String status; + /** + * 审核意见 + */ + @TableField(value="REASON") + private String reason; + /** + * 审核时间 + */ + @TableField(value="AUDITOR_TIME") + private Date auditorTime; + /** + * 审核人ID + */ + @TableField(value="AUDITOR_ID") + private Integer auditorId; + /** + * 审核人名称 + */ + @TableField(value="AUDITOR_NAME") + private String auditorName; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCategoryId() { + return categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getWeight() { + return weight; + } + + public void setWeight(String weight) { + this.weight = weight; + } + + public String getImage() { + return image; + } + + public void setImage(String image) { + this.image = image; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getIntroduction() { + return introduction; + } + + public void setIntroduction(String introduction) { + this.introduction = introduction; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getLink() { + return link; + } + + public void setLink(String link) { + this.link = link; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public Date getAuditorTime() { + return auditorTime; + } + + public void setAuditorTime(Date auditorTime) { + this.auditorTime = auditorTime; + } + + public Integer getAuditorId() { + return auditorId; + } + + public void setAuditorId(Integer auditorId) { + this.auditorId = auditorId; + } + + public String getAuditorName() { + return auditorName; + } + + public void setAuditorName(String auditorName) { + this.auditorName = auditorName; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentArticlesTags.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentArticlesTags.java new file mode 100644 index 0000000..1e7582c --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentArticlesTags.java @@ -0,0 +1,62 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; + +/** + *+ * 图文信息标签 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_ARTICLES_TAGS") +public class ContentArticlesTags implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 图文信息ID + */ + @TableField(value="ARTICLES_ID") + private String articlesId; + /** + * 标签Ids + */ + @TableField(value="TAGS_IDS") + private String tagsIds; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getArticlesId() { + return articlesId; + } + + public void setArticlesId(String articlesId) { + this.articlesId = articlesId; + } + + public String getTagsIds() { + return tagsIds; + } + + public void setTagsIds(String tagsIds) { + this.tagsIds = tagsIds; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentCategories.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentCategories.java new file mode 100644 index 0000000..24a8df5 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentCategories.java @@ -0,0 +1,206 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *+ * 栏目 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_CATEGORIES") +public class ContentCategories implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 栏目名称 + */ + @TableField(value="NAME") + private String name; + /** + * 栏目图标 + */ + @TableField(value="ICON") + private String icon; + /** + * 栏目简介 + */ + @TableField(value="DESCRIPTION") + private String description; + /** + * 栏目等级 + */ + @TableField(value="LEVEL") + private Integer level; + /** + * 父栏目ID + */ + @TableField(value="PERENT") + private String perent; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 修改人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 最后修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public String getPerent() { + return perent; + } + + public void setPerent(String perent) { + this.perent = perent; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentDoctorMessage.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentDoctorMessage.java new file mode 100644 index 0000000..93b78b0 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentDoctorMessage.java @@ -0,0 +1,219 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *+ * 医院消息 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_DOCTOR_MESSAGE") +public class ContentDoctorMessage implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 医院ID + */ + @TableField(value="DOCTOR_ID") + private String doctorId; + /** + * 消息模板ID + */ + @TableField(value="MESSAGE_TEMPLATED") + private String messageTemplated; + /** + * 信息内容 + */ + @TableField(value="CONTENT") + private String content; + /** + * 图文信息ID + */ + @TableField(value="ARTICLES_ID") + private String articlesId; + /** + * 标志键 + */ + @TableField(value="KEY_CODE") + private String keyCode; + /** + * 模板信息版本ID + */ + @TableField(value="VERSION_ID") + private String versionId; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 最后修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDoctorId() { + return doctorId; + } + + public void setDoctorId(String doctorId) { + this.doctorId = doctorId; + } + + public String getMessageTemplated() { + return messageTemplated; + } + + public void setMessageTemplated(String messageTemplated) { + this.messageTemplated = messageTemplated; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getArticlesId() { + return articlesId; + } + + public void setArticlesId(String articlesId) { + this.articlesId = articlesId; + } + + public String getKeyCode() { + return keyCode; + } + + public void setKeyCode(String keyCode) { + this.keyCode = keyCode; + } + + public String getVersionId() { + return versionId; + } + + public void setVersionId(String versionId) { + this.versionId = versionId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentMessageTemplate.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentMessageTemplate.java new file mode 100644 index 0000000..a1f8946 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentMessageTemplate.java @@ -0,0 +1,192 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *+ * 消息模板内容 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_MESSAGE_TEMPLATE") +public class ContentMessageTemplate implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 消息模板版本ID + */ + @TableField(value="CONTENT") + private String templateVersionId; + /** + * 信息内容 + */ + @TableField(value="CONTENT") + private String content; + /** + * 图文信息ID + */ + @TableField(value="ARTICLES_ID") + private String articlesId; + /** + * 标志键 + */ + @TableField(value="KEY_CODE") + private String keyCode; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 最后修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + public String getTemplateVersionId() { + return templateVersionId; + } + + public void setTemplateVersionId(String templateVersionId) { + this.templateVersionId = templateVersionId; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getArticlesId() { + return articlesId; + } + + public void setArticlesId(String articlesId) { + this.articlesId = articlesId; + } + + public String getKeyCode() { + return keyCode; + } + + public void setKeyCode(String keyCode) { + this.keyCode = keyCode; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTags.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTags.java new file mode 100644 index 0000000..6665cef --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTags.java @@ -0,0 +1,193 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *+ * 标签 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_TAGS") +public class ContentTags implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 标签名称 + */ + @TableField(value="TAG_NAME") + private String tagName; + /** + * 标签简介 + */ + @TableField(value="TAG_DESC") + private String tagDesc; + /** + * 标签等级 + */ + @TableField(value="LEVEL") + private Integer level; + /** + * 父标签ID + */ + @TableField(value="PERENT_ID") + private String perentId; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 最后修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getTagName() { + return tagName; + } + + public void setTagName(String tagName) { + this.tagName = tagName; + } + + public String getTagDesc() { + return tagDesc; + } + + public void setTagDesc(String tagDesc) { + this.tagDesc = tagDesc; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public String getPerentId() { + return perentId; + } + + public void setPerentId(String perentId) { + this.perentId = perentId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateMessageTags.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateMessageTags.java new file mode 100644 index 0000000..5ff0722 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateMessageTags.java @@ -0,0 +1,62 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; + +/** + *+ * 模板信息标签 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_TEMPLATE_MESSAGE_TAGS") +public class ContentTemplateMessageTags implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 标签Ids + */ + @TableField(value="TAGS_IDS") + private String tagsIds; + /** + * 模板消息ID + */ + @TableField(value="MESSAGE_TEMPLATE") + private String messageTemplate; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getTagsIds() { + return tagsIds; + } + + public void setTagsIds(String tagsIds) { + this.tagsIds = tagsIds; + } + + public String getMessageTemplate() { + return messageTemplate; + } + + public void setMessageTemplate(String messageTemplate) { + this.messageTemplate = messageTemplate; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateVersion.java b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateVersion.java new file mode 100644 index 0000000..1635d14 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/entity/content/ContentTemplateVersion.java @@ -0,0 +1,167 @@ +package com.lyms.base.common.entity.content; + +import com.baomidou.mybatisplus.annotations.TableId; +import com.baomidou.mybatisplus.annotations.TableField; +import com.baomidou.mybatisplus.annotations.TableName; +import java.io.Serializable; +import java.util.Date; + +/** + *+ * 消息模板版本 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@TableName("CONTENT_TEMPLATE_VERSION") +public class ContentTemplateVersion implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键ID + */ + @TableId(value="ID") + private String id; + /** + * 版本名称 + */ + @TableField(value="VERSION_NAME") + private String versionName; + /** + * 版本简介 + */ + @TableField(value="VERSION_DESC") + private String versionDesc; + /** + * 创建时间 + */ + @TableField(value="CREATE_TIME") + private Date createTime; + /** + * 创建人ID + */ + @TableField(value="CREATE_ID") + private String createId; + /** + * 创建人名称 + */ + @TableField(value="CREATE_NAME") + private String createName; + /** + * 修改人ID + */ + @TableField(value="MODIFY_ID") + private String modifyId; + /** + * 修改人名称 + */ + @TableField(value="MODIFY_NAME") + private String modifyName; + /** + * 最后修改时间 + */ + @TableField(value="MODIFY_TIME") + private Date modifyTime; + /** + * 是否删除 + */ + @TableField(value="IFDEL") + private Integer ifdel; + /** + * 是否启用 + */ + @TableField(value="ENABLE") + private Integer enable; + + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public String getVersionDesc() { + return versionDesc; + } + + public void setVersionDesc(String versionDesc) { + this.versionDesc = versionDesc; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getCreateId() { + return createId; + } + + public void setCreateId(String createId) { + this.createId = createId; + } + + public String getCreateName() { + return createName; + } + + public void setCreateName(String createName) { + this.createName = createName; + } + + public String getModifyId() { + return modifyId; + } + + public void setModifyId(String modifyId) { + this.modifyId = modifyId; + } + + public String getModifyName() { + return modifyName; + } + + public void setModifyName(String modifyName) { + this.modifyName = modifyName; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getIfdel() { + return ifdel; + } + + public void setIfdel(Integer ifdel) { + this.ifdel = ifdel; + } + + public Integer getEnable() { + return enable; + } + + public void setEnable(Integer enable) { + this.enable = enable; + } + +} diff --git a/parent/base.common/src/main/java/com/lyms/base/common/service/content/ContentArticlesService.java b/parent/base.common/src/main/java/com/lyms/base/common/service/content/ContentArticlesService.java new file mode 100644 index 0000000..86295e3 --- /dev/null +++ b/parent/base.common/src/main/java/com/lyms/base/common/service/content/ContentArticlesService.java @@ -0,0 +1,24 @@ +package com.lyms.base.common.service.content; + +import com.lyms.base.common.entity.content.ContentArticles; +import com.lyms.web.service.BaseService; +import java.io.Serializable; + +/** + *+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentArticlesService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentArticlesTagsService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentCategoriesService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentDoctorMessageService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentMessageTemplateService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentTagsService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentTemplateMessageTagsService extends BaseService+ * 服务类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +public interface ContentTemplateVersionService extends BaseService+ * 图文信息 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentArticlesServiceImpl extends ServiceImpl+ * 图文信息标签 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentArticlesTagsServiceImpl extends ServiceImpl+ * 栏目 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentCategoriesServiceImpl extends ServiceImpl+ * 医院消息 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentDoctorMessageServiceImpl extends ServiceImpl+ * 消息模板内容 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentMessageTemplateServiceImpl extends ServiceImpl+ * 标签 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentTagsServiceImpl extends ServiceImpl+ * 模板信息标签 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentTemplateMessageTagsServiceImpl extends ServiceImpl+ * 消息模板版本 服务实现类 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Service +public class ContentTemplateVersionServiceImpl extends ServiceImpl+ * 图文信息 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentArticles") +public class ContentArticlesController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentArticlesTagsController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentArticlesTagsController.java new file mode 100644 index 0000000..240cad5 --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentArticlesTagsController.java @@ -0,0 +1,19 @@ +package com.lyms.cm.controller.content; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import com.lyms.web.controller.BaseController; + +/** + *+ * 图文信息标签 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentArticlesTags") +public class ContentArticlesTagsController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentCategoriesController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentCategoriesController.java new file mode 100644 index 0000000..6de7f25 --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentCategoriesController.java @@ -0,0 +1,19 @@ +package com.lyms.cm.controller.content; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import com.lyms.web.controller.BaseController; + +/** + *+ * 栏目 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentCategories") +public class ContentCategoriesController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentDoctorMessageController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentDoctorMessageController.java new file mode 100644 index 0000000..d0ead06 --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentDoctorMessageController.java @@ -0,0 +1,19 @@ +package com.lyms.cm.controller.content; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import com.lyms.web.controller.BaseController; + +/** + *+ * 医院消息 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentDoctorMessage") +public class ContentDoctorMessageController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentMessageTemplateController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentMessageTemplateController.java new file mode 100644 index 0000000..6bae1ea --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentMessageTemplateController.java @@ -0,0 +1,66 @@ +package com.lyms.cm.controller.content; + +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.lyms.base.common.entity.content.ContentMessageTemplate; +import com.lyms.base.common.service.content.ContentMessageTemplateService; +import com.lyms.web.controller.BaseController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.Map; + +/** + *+ * 消息模板内容 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentMessageTemplate") +public class ContentMessageTemplateController extends BaseController { + @Autowired + private ContentMessageTemplateService messageTemplateService; + /** + * 跳转到列表页面 + * + * @return + */ + @RequestMapping(value = "/toList", method = { RequestMethod.GET }) + public String toList() { + return "/content/template_list"; + //return "/conf/diagnose/source_list"; + } + + /** + * 列表 + * @param model + * @return + */ + @RequestMapping(value = "/list", method = { RequestMethod.POST, RequestMethod.GET }) + @ResponseBody + public Map+ * 标签 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentTags") +public class ContentTagsController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateMessageTagsController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateMessageTagsController.java new file mode 100644 index 0000000..58e4efd --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateMessageTagsController.java @@ -0,0 +1,19 @@ +package com.lyms.cm.controller.content; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import com.lyms.web.controller.BaseController; + +/** + *+ * 模板信息标签 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentTemplateMessageTags") +public class ContentTemplateMessageTagsController extends BaseController { + +} diff --git a/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateVersionController.java b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateVersionController.java new file mode 100644 index 0000000..a947d7a --- /dev/null +++ b/parent/center.manager/src/main/java/com/lyms/cm/controller/content/ContentTemplateVersionController.java @@ -0,0 +1,57 @@ +package com.lyms.cm.controller.content; + +import com.baomidou.mybatisplus.mapper.EntityWrapper; +import com.baomidou.mybatisplus.plugins.Page; +import com.lyms.base.common.entity.content.ContentTemplateVersion; +import com.lyms.base.common.service.content.ContentTemplateVersionService; +import com.lyms.util.StrUtils; +import com.lyms.web.controller.BaseController; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.Map; + +/** + *+ * 消息模板版本 前端控制器 + *
+ * + * @author yangfei + * @since 2017-04-14 + */ +@Controller +@RequestMapping("/contentTemplateVersion") +public class ContentTemplateVersionController extends BaseController { + @Autowired + private ContentTemplateVersionService templateVersionService; + + /** + * 列表 + * @param model + * @return + */ + @RequestMapping(value = "/list", method = { RequestMethod.POST, RequestMethod.GET }) + @ResponseBody + public Map