Commit 1dd97805 by 田超

Merge branch '1003198' into 'master'

feat:[1003198] 书刊二维码信息加上页码

See merge request rays/pcloud-book!816
parents 0edda219 fd3f41dd
...@@ -284,6 +284,10 @@ public class BookGroupDTO extends BaseDto { ...@@ -284,6 +284,10 @@ public class BookGroupDTO extends BaseDto {
*/ */
private String groupQrcodeLink; private String groupQrcodeLink;
private Integer groupQrcodePageNum;
private Integer groupQrcodeLocationId;
private String groupQrcodeRemark;
public String getGroupQrcodeLink() { public String getGroupQrcodeLink() {
return groupQrcodeLink; return groupQrcodeLink;
} }
...@@ -759,6 +763,30 @@ public class BookGroupDTO extends BaseDto { ...@@ -759,6 +763,30 @@ public class BookGroupDTO extends BaseDto {
this.friendGuideList = friendGuideList; this.friendGuideList = friendGuideList;
} }
public Integer getGroupQrcodePageNum() {
return groupQrcodePageNum;
}
public void setGroupQrcodePageNum(Integer groupQrcodePageNum) {
this.groupQrcodePageNum = groupQrcodePageNum;
}
public Integer getGroupQrcodeLocationId() {
return groupQrcodeLocationId;
}
public void setGroupQrcodeLocationId(Integer groupQrcodeLocationId) {
this.groupQrcodeLocationId = groupQrcodeLocationId;
}
public String getGroupQrcodeRemark() {
return groupQrcodeRemark;
}
public void setGroupQrcodeRemark(String groupQrcodeRemark) {
this.groupQrcodeRemark = groupQrcodeRemark;
}
@Override @Override
public String toString() { public String toString() {
return "BookGroupDTO{" + return "BookGroupDTO{" +
......
...@@ -172,6 +172,14 @@ public class BookGroup extends BaseEntity { ...@@ -172,6 +172,14 @@ public class BookGroup extends BaseEntity {
*/ */
private Boolean openWeapp; private Boolean openWeapp;
/**
* 二维码所在页
* add by pans 2020/7/10
*/
private Integer groupQrcodePageNum;
private Integer groupQrcodeLocationId;
private String groupQrcodeRemark;
public Long getRelatedBookGroupId() { public Long getRelatedBookGroupId() {
return relatedBookGroupId; return relatedBookGroupId;
} }
...@@ -420,6 +428,30 @@ public class BookGroup extends BaseEntity { ...@@ -420,6 +428,30 @@ public class BookGroup extends BaseEntity {
this.friendGuideList = friendGuideList; this.friendGuideList = friendGuideList;
} }
public Integer getGroupQrcodePageNum() {
return groupQrcodePageNum;
}
public void setGroupQrcodePageNum(Integer groupQrcodePageNum) {
this.groupQrcodePageNum = groupQrcodePageNum;
}
public Integer getGroupQrcodeLocationId() {
return groupQrcodeLocationId;
}
public void setGroupQrcodeLocationId(Integer groupQrcodeLocationId) {
this.groupQrcodeLocationId = groupQrcodeLocationId;
}
public String getGroupQrcodeRemark() {
return groupQrcodeRemark;
}
public void setGroupQrcodeRemark(String groupQrcodeRemark) {
this.groupQrcodeRemark = groupQrcodeRemark;
}
@Override @Override
public String toString() { public String toString() {
return "BookGroup{" + return "BookGroup{" +
......
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
<result column="open_weapp" property="openWeapp" jdbcType="BOOLEAN"/> <result column="open_weapp" property="openWeapp" jdbcType="BOOLEAN"/>
<result column="single_group" property="singleGroup" jdbcType="BOOLEAN"/> <result column="single_group" property="singleGroup" jdbcType="BOOLEAN"/>
<result column="related_book_group_id" property="relatedBookGroupId" jdbcType="BIGINT"/> <result column="related_book_group_id" property="relatedBookGroupId" jdbcType="BIGINT"/>
<result column="group_qrcode_location_id" property="groupQrcodeLocationId" jdbcType="BIGINT"/>
<result column="group_qrcode_remark" property="groupQrcodeRemark" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<resultMap id="BookGroupDTO" type="com.pcloud.book.group.dto.BookGroupDTO"> <resultMap id="BookGroupDTO" type="com.pcloud.book.group.dto.BookGroupDTO">
...@@ -71,6 +73,9 @@ ...@@ -71,6 +73,9 @@
<result column="open_weapp" property="openWeapp" jdbcType="BOOLEAN"/> <result column="open_weapp" property="openWeapp" jdbcType="BOOLEAN"/>
<result column="single_group" property="singleGroup" jdbcType="BOOLEAN"/> <result column="single_group" property="singleGroup" jdbcType="BOOLEAN"/>
<result column="related_book_group_id" property="relatedBookGroupId" jdbcType="BIGINT"/> <result column="related_book_group_id" property="relatedBookGroupId" jdbcType="BIGINT"/>
<result column="group_qrcode_page_num" property="groupQrcodePageNum" jdbcType="INTEGER"/>
<result column="group_qrcode_location_id" property="groupQrcodeLocationId" jdbcType="BIGINT"/>
<result column="group_qrcode_remark" property="groupQrcodeRemark" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
...@@ -79,7 +84,7 @@ ...@@ -79,7 +84,7 @@
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,book_group_cipher, last_push_update_time, is_some_update, agent_id, belong_special_agent, is_invite_group,book_group_cipher, last_push_update_time, is_some_update, agent_id, belong_special_agent,
short_book_name, open_weapp, single_group, related_book_group_id short_book_name, open_weapp, single_group, related_book_group_id,group_qrcode_page_num,group_qrcode_location_id,group_qrcode_remark
</sql> </sql>
<select id="getById" resultMap="BaseResultMap" parameterType="java.lang.Long"> <select id="getById" resultMap="BaseResultMap" parameterType="java.lang.Long">
...@@ -319,6 +324,15 @@ ...@@ -319,6 +324,15 @@
<if test="singleGroup !=null"> <if test="singleGroup !=null">
single_group = #{singleGroup}, single_group = #{singleGroup},
</if> </if>
<if test="groupQrcodePageNum !=null">
group_qrcode_page_num = #{groupQrcodePageNum},
</if>
<if test="groupQrcodeLocationId !=null">
group_qrcode_location_id = #{groupQrcodeLocationId},
</if>
<if test="groupQrcodeRemark !=null">
group_qrcode_remark = #{groupQrcodeRemark},
</if>
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
......
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