公众号-文章标签

This commit is contained in:
kuang.yife 2024-06-21 21:45:31 +08:00
parent 558b6eac57
commit 23a58bdc84
4 changed files with 20 additions and 1 deletions

View File

@ -51,6 +51,12 @@
<input name="authorAlias" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">文章标签(逗号隔开)</label>
<div class="col-sm-8">
<input name="detailTags" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">头像:</label>
<div class="col-sm-8">

View File

@ -44,6 +44,12 @@
<input name="authorAlias" th:field="*{authorAlias}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">文章标签(逗号隔开)</label>
<div class="col-sm-8">
<input name="detailTags" th:field="*{detailTags}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">运营人员:</label>
<div class="col-sm-8">

View File

@ -42,6 +42,9 @@ public class PlayletPublicAccount extends BaseEntity
@ApiModelProperty(value = "认证标识 01.个人02.企业")
private String detailType;
@ApiModelProperty(value = "文章标签,多个用逗号隔开")
private String detailTags;
/** 简介 */
@Excel(name = "简介")
@ApiModelProperty(value = "简介")

View File

@ -9,6 +9,7 @@
<result property="name" column="name" />
<result property="publicType" column="public_type" />
<result property="detailType" column="detail_type" />
<result property="detailTags" column="detail_tags" />
<result property="introduction" column="introduction" />
<result property="authorAlias" column="author_alias" />
<result property="managerId" column="manager_id" />
@ -24,7 +25,7 @@
</resultMap>
<sql id="selectPlayletPublicAccountVo">
select id, name, public_type, detail_type, introduction, author_alias, manager_id, logo_url, address, original_content_count, followers_count, create_by, create_time, update_by, update_time, remark from playlet_public_account
select id, name, public_type, detail_type, detail_tags, introduction, author_alias, manager_id, logo_url, address, original_content_count, followers_count, create_by, create_time, update_by, update_time, remark from playlet_public_account
</sql>
<select id="selectPlayletPublicAccountList" parameterType="PlayletPublicAccount" resultMap="PlayletPublicAccountResult">
@ -52,6 +53,7 @@
<if test="name != null">name,</if>
<if test="publicType != null">public_type,</if>
<if test="detailType != null">detail_type,</if>
<if test="detailTags != null">detail_tags,</if>
<if test="introduction != null">introduction,</if>
<if test="authorAlias != null">author_alias,</if>
<if test="managerId != null">manager_id,</if>
@ -69,6 +71,7 @@
<if test="name != null">#{name},</if>
<if test="publicType != null">#{publicType},</if>
<if test="detailType != null">#{detailType},</if>
<if test="detailTags != null">#{detailTags},</if>
<if test="introduction != null">#{introduction},</if>
<if test="authorAlias != null">#{authorAlias},</if>
<if test="managerId != null">#{managerId},</if>
@ -90,6 +93,7 @@
<if test="name != null">name = #{name},</if>
<if test="publicType != null">public_type = #{publicType},</if>
<if test="detailType != null">detail_type = #{detailType},</if>
<if test="detailTags != null">detail_tags = #{detailTags},</if>
<if test="introduction != null">introduction = #{introduction},</if>
<if test="authorAlias != null">author_alias = #{authorAlias},</if>
<if test="managerId != null">manager_id = #{managerId},</if>