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
743d5362
Commit
743d5362
authored
Sep 23, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加字段
parent
6c7f4cce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
1 deletions
+38
-1
BookGroupDTO.java
...src/main/java/com/pcloud/book/group/dto/BookGroupDTO.java
+15
-0
BookGroup.java
...src/main/java/com/pcloud/book/group/entity/BookGroup.java
+15
-0
BookGroupMapper.xml
...-book/src/main/resources/mapper/group/BookGroupMapper.xml
+8
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/dto/BookGroupDTO.java
View file @
743d5362
...
...
@@ -167,6 +167,11 @@ public class BookGroupDTO extends BaseDto {
*/
private
Boolean
isInviteGroup
;
/**
* 社群书暗号
*/
private
String
bookGroupCipher
;
public
String
getUrl
()
{
return
url
;
}
...
...
@@ -425,6 +430,14 @@ public class BookGroupDTO extends BaseDto {
this
.
isInviteGroup
=
isInviteGroup
;
}
public
String
getBookGroupCipher
()
{
return
bookGroupCipher
;
}
public
void
setBookGroupCipher
(
String
bookGroupCipher
)
{
this
.
bookGroupCipher
=
bookGroupCipher
;
}
@Override
public
String
toString
()
{
return
"BookGroupDTO{"
+
...
...
@@ -460,6 +473,7 @@ public class BookGroupDTO extends BaseDto {
", addFriendGuide='"
+
addFriendGuide
+
'\''
+
", customerServiceName='"
+
customerServiceName
+
'\''
+
", isInviteGroup="
+
isInviteGroup
+
", bookGroupCipher='"
+
bookGroupCipher
+
'\''
+
"} "
+
super
.
toString
();
}
}
\ No newline at end of file
pcloud-service-book/src/main/java/com/pcloud/book/group/entity/BookGroup.java
View file @
743d5362
...
...
@@ -122,6 +122,11 @@ public class BookGroup extends BaseEntity {
*/
private
Boolean
isInviteGroup
;
/**
* 社群书暗号
*/
private
String
bookGroupCipher
;
public
Long
getId
()
{
return
id
;
}
...
...
@@ -298,6 +303,14 @@ public class BookGroup extends BaseEntity {
this
.
isInviteGroup
=
isInviteGroup
;
}
public
String
getBookGroupCipher
()
{
return
bookGroupCipher
;
}
public
void
setBookGroupCipher
(
String
bookGroupCipher
)
{
this
.
bookGroupCipher
=
bookGroupCipher
;
}
@Override
public
String
toString
()
{
return
"BookGroup{"
+
...
...
@@ -323,6 +336,7 @@ public class BookGroup extends BaseEntity {
", addFriendGuide='"
+
addFriendGuide
+
'\''
+
", customerServiceName='"
+
customerServiceName
+
'\''
+
", isInviteGroup="
+
isInviteGroup
+
", bookGroupCipher='"
+
bookGroupCipher
+
'\''
+
"} "
+
super
.
toString
();
}
}
\ No newline at end of file
pcloud-service-book/src/main/resources/mapper/group/BookGroupMapper.xml
View file @
743d5362
...
...
@@ -24,6 +24,7 @@
<result
column=
"add_friend_guide"
property=
"addFriendGuide"
jdbcType=
"VARCHAR"
/>
<result
column=
"customer_service_name"
property=
"customerServiceName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_invite_group"
property=
"isInviteGroup"
jdbcType=
"BOOLEAN"
/>
<result
column=
"book_group_cipher"
property=
"bookGroupCipher"
jdbcType=
"VARCHAR"
/>
</resultMap>
<resultMap
id=
"BookGroupDTO"
type=
"com.pcloud.book.group.dto.BookGroupDTO"
>
...
...
@@ -53,6 +54,7 @@
<result
column=
"add_friend_guide"
property=
"addFriendGuide"
jdbcType=
"VARCHAR"
/>
<result
column=
"customer_service_name"
property=
"customerServiceName"
jdbcType=
"VARCHAR"
/>
<result
column=
"is_invite_group"
property=
"isInviteGroup"
jdbcType=
"BOOLEAN"
/>
<result
column=
"book_group_cipher"
property=
"bookGroupCipher"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -60,7 +62,7 @@
pur_label_id, join_title, join_slogan, personal_qrcode_url, product_id, create_user,
create_time,
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>
<select
id=
"getById"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Long"
>
...
...
@@ -173,6 +175,7 @@
add_friend_guide,
customer_service_name,
is_invite_group,
book_group_cipher,
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{bookId,jdbcType=BIGINT},
...
...
@@ -194,6 +197,7 @@
#{addFriendGuide,jdbcType=VARCHAR},
#{customerServiceName,jdbcType=VARCHAR},
#{isInviteGroup,jdbcType=BOOLEAN},
#{bookGroupCipher,jdbcType=VARCHAR},
</trim>
</insert>
...
...
@@ -251,6 +255,9 @@
<if
test=
"isInviteGroup != null"
>
is_invite_group = #{isInviteGroup},
</if>
<if
test=
"bookGroupCipher != null"
>
book_group_cipher = #{bookGroupCipher},
</if>
update_time = NOW(),
</set>
where id = #{id,jdbcType=BIGINT}
...
...
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