Commit 743d5362 by 阮思源

加字段

parent 6c7f4cce
...@@ -167,6 +167,11 @@ public class BookGroupDTO extends BaseDto { ...@@ -167,6 +167,11 @@ public class BookGroupDTO extends BaseDto {
*/ */
private Boolean isInviteGroup; private Boolean isInviteGroup;
/**
* 社群书暗号
*/
private String bookGroupCipher;
public String getUrl() { public String getUrl() {
return url; return url;
} }
...@@ -425,6 +430,14 @@ public class BookGroupDTO extends BaseDto { ...@@ -425,6 +430,14 @@ public class BookGroupDTO extends BaseDto {
this.isInviteGroup = isInviteGroup; this.isInviteGroup = isInviteGroup;
} }
public String getBookGroupCipher() {
return bookGroupCipher;
}
public void setBookGroupCipher(String bookGroupCipher) {
this.bookGroupCipher = bookGroupCipher;
}
@Override @Override
public String toString() { public String toString() {
return "BookGroupDTO{" + return "BookGroupDTO{" +
...@@ -460,6 +473,7 @@ public class BookGroupDTO extends BaseDto { ...@@ -460,6 +473,7 @@ public class BookGroupDTO extends BaseDto {
", addFriendGuide='" + addFriendGuide + '\'' + ", addFriendGuide='" + addFriendGuide + '\'' +
", customerServiceName='" + customerServiceName + '\'' + ", customerServiceName='" + customerServiceName + '\'' +
", isInviteGroup=" + isInviteGroup + ", isInviteGroup=" + isInviteGroup +
", bookGroupCipher='" + bookGroupCipher + '\'' +
"} " + super.toString(); "} " + super.toString();
} }
} }
\ No newline at end of file
...@@ -122,6 +122,11 @@ public class BookGroup extends BaseEntity { ...@@ -122,6 +122,11 @@ public class BookGroup extends BaseEntity {
*/ */
private Boolean isInviteGroup; private Boolean isInviteGroup;
/**
* 社群书暗号
*/
private String bookGroupCipher;
public Long getId() { public Long getId() {
return id; return id;
} }
...@@ -298,6 +303,14 @@ public class BookGroup extends BaseEntity { ...@@ -298,6 +303,14 @@ public class BookGroup extends BaseEntity {
this.isInviteGroup = isInviteGroup; this.isInviteGroup = isInviteGroup;
} }
public String getBookGroupCipher() {
return bookGroupCipher;
}
public void setBookGroupCipher(String bookGroupCipher) {
this.bookGroupCipher = bookGroupCipher;
}
@Override @Override
public String toString() { public String toString() {
return "BookGroup{" + return "BookGroup{" +
...@@ -323,6 +336,7 @@ public class BookGroup extends BaseEntity { ...@@ -323,6 +336,7 @@ public class BookGroup extends BaseEntity {
", addFriendGuide='" + addFriendGuide + '\'' + ", addFriendGuide='" + addFriendGuide + '\'' +
", customerServiceName='" + customerServiceName + '\'' + ", customerServiceName='" + customerServiceName + '\'' +
", isInviteGroup=" + isInviteGroup + ", isInviteGroup=" + isInviteGroup +
", bookGroupCipher='" + bookGroupCipher + '\'' +
"} " + super.toString(); "} " + super.toString();
} }
} }
\ No newline at end of file
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<result column="add_friend_guide" property="addFriendGuide" jdbcType="VARCHAR"/> <result column="add_friend_guide" property="addFriendGuide" jdbcType="VARCHAR"/>
<result column="customer_service_name" property="customerServiceName" jdbcType="VARCHAR"/> <result column="customer_service_name" property="customerServiceName" jdbcType="VARCHAR"/>
<result column="is_invite_group" property="isInviteGroup" jdbcType="BOOLEAN"/> <result column="is_invite_group" property="isInviteGroup" jdbcType="BOOLEAN"/>
<result column="book_group_cipher" property="bookGroupCipher" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<resultMap id="BookGroupDTO" type="com.pcloud.book.group.dto.BookGroupDTO"> <resultMap id="BookGroupDTO" type="com.pcloud.book.group.dto.BookGroupDTO">
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
<result column="add_friend_guide" property="addFriendGuide" jdbcType="VARCHAR"/> <result column="add_friend_guide" property="addFriendGuide" jdbcType="VARCHAR"/>
<result column="customer_service_name" property="customerServiceName" jdbcType="VARCHAR"/> <result column="customer_service_name" property="customerServiceName" jdbcType="VARCHAR"/>
<result column="is_invite_group" property="isInviteGroup" jdbcType="BOOLEAN"/> <result column="is_invite_group" property="isInviteGroup" jdbcType="BOOLEAN"/>
<result column="book_group_cipher" property="bookGroupCipher" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
...@@ -60,7 +62,7 @@ ...@@ -60,7 +62,7 @@
pur_label_id, join_title, join_slogan, personal_qrcode_url, product_id, create_user, pur_label_id, join_title, join_slogan, personal_qrcode_url, product_id, create_user,
create_time, create_time,
update_time, is_delete, is_show_book_name,join_group_type,add_friend_guide,customer_service_name, update_time, is_delete, is_show_book_name,join_group_type,add_friend_guide,customer_service_name,
is_invite_group is_invite_group,book_group_cipher
</sql> </sql>
<select id="getById" resultMap="BaseResultMap" parameterType="java.lang.Long"> <select id="getById" resultMap="BaseResultMap" parameterType="java.lang.Long">
...@@ -173,6 +175,7 @@ ...@@ -173,6 +175,7 @@
add_friend_guide, add_friend_guide,
customer_service_name, customer_service_name,
is_invite_group, is_invite_group,
book_group_cipher,
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
#{bookId,jdbcType=BIGINT}, #{bookId,jdbcType=BIGINT},
...@@ -194,6 +197,7 @@ ...@@ -194,6 +197,7 @@
#{addFriendGuide,jdbcType=VARCHAR}, #{addFriendGuide,jdbcType=VARCHAR},
#{customerServiceName,jdbcType=VARCHAR}, #{customerServiceName,jdbcType=VARCHAR},
#{isInviteGroup,jdbcType=BOOLEAN}, #{isInviteGroup,jdbcType=BOOLEAN},
#{bookGroupCipher,jdbcType=VARCHAR},
</trim> </trim>
</insert> </insert>
...@@ -251,6 +255,9 @@ ...@@ -251,6 +255,9 @@
<if test="isInviteGroup != null"> <if test="isInviteGroup != null">
is_invite_group = #{isInviteGroup}, is_invite_group = #{isInviteGroup},
</if> </if>
<if test="bookGroupCipher != null">
book_group_cipher = #{bookGroupCipher},
</if>
update_time = NOW(), update_time = NOW(),
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment