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
cf92906d
Commit
cf92906d
authored
Aug 20, 2021
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1005292] 站内信加推图
parent
726bf035
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
CultivateNotifyItem.java
...com/pcloud/book/cultivate/entity/CultivateNotifyItem.java
+3
-0
CultivateNotifyItem.xml
...c/main/resources/mapper/cultivate/CultivateNotifyItem.xml
+7
-3
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/cultivate/entity/CultivateNotifyItem.java
View file @
cf92906d
...
...
@@ -35,6 +35,9 @@ public class CultivateNotifyItem extends BaseEntity {
@ApiModelProperty
(
"图片地址"
)
private
String
picUrl
;
@ApiModelProperty
(
"首页推图"
)
private
String
squareImg
;
@ApiModelProperty
(
"音频资源id"
)
private
Long
resourceId
;
...
...
pcloud-service-book/src/main/resources/mapper/cultivate/CultivateNotifyItem.xml
View file @
cf92906d
...
...
@@ -15,6 +15,7 @@
<result
column=
"jump_type"
jdbcType=
"INTEGER"
property=
"jumpType"
/>
<result
column=
"jump_url"
jdbcType=
"VARCHAR"
property=
"jumpUrl"
/>
<result
column=
"ext_json"
jdbcType=
"LONGVARCHAR"
property=
"extJson"
/>
<result
column=
"square_img"
jdbcType=
"VARCHAR"
property=
"squareImg"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -23,7 +24,8 @@
jump_url,
serve_id,
serve_type,
ext_json
ext_json,
square_img
</sql>
<insert
id=
"batchInsert"
parameterType=
"com.pcloud.book.cultivate.entity.CultivateNotifyItem"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
@@ -40,7 +42,8 @@
jump_url,
serve_id,
serve_type,
ext_json
ext_json,
square_img
)
values
<foreach
collection=
"list"
item=
"item"
index=
"index"
separator=
","
>
...
...
@@ -56,7 +59,8 @@
#{item.jumpUrl},
#{item.serveId},
#{item.serveType},
#{item.extJson}
#{item.extJson},
#{item.squareImg}
)
</foreach>
</insert>
...
...
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