Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
d8ff3e4a
Commit
d8ff3e4a
authored
Jul 14, 2020
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1003198' into 'master'
feature: [1003198] 书刊二维码信息加上页码 See merge request rays/pcloud-book!812
parents
22978db6
95e1a4b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
1 deletions
+75
-1
BookGroupDTO.java
...src/main/java/com/pcloud/book/group/dto/BookGroupDTO.java
+28
-0
BookGroup.java
...src/main/java/com/pcloud/book/group/entity/BookGroup.java
+32
-0
BookGroupMapper.xml
...-book/src/main/resources/mapper/group/BookGroupMapper.xml
+15
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/dto/BookGroupDTO.java
View file @
d8ff3e4a
...
@@ -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{"
+
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/entity/BookGroup.java
View file @
d8ff3e4a
...
@@ -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{"
+
...
...
pcloud-service-book/src/main/resources/mapper/group/BookGroupMapper.xml
View file @
d8ff3e4a
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment