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
9f8ceb83
Commit
9f8ceb83
authored
Jun 18, 2019
by
裴大威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3f09feae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
BookKeyword.Mapper.xml
...src/main/resources/mapper/keywords/BookKeyword.Mapper.xml
+17
-1
No files found.
pcloud-service-book/src/main/resources/mapper/keywords/BookKeyword.Mapper.xml
View file @
9f8ceb83
...
...
@@ -13,6 +13,8 @@
set_type,
rank,
keyword_id,
is_warehouse,
warehouse_id,
create_user,
create_time,
</trim>
...
...
@@ -24,6 +26,8 @@
#{setType,jdbcType=TINYINT},
#{rank,jdbcType=TINYINT},
#{keywordId,jdbcType=BIGINT},
#{isWarehouse,jdbcType=TINYINT},
#{warehouseId,jdbcType=BIGINT},
#{createUser,jdbcType=BIGINT},
NOW(),
</trim>
...
...
@@ -76,7 +80,9 @@
k.pic_url picUrl,
k.reply_type replyType,
k.serve_id serveId,
k.serve_type serveType
k.serve_type serveType,
bk.is_warehouse as isWarehouse,
bk.warehouse_id as warehouseId
FROM
book_keyword bk
JOIN
...
...
@@ -99,6 +105,8 @@
SELECT
k.keywords,
k.id keywordId,
bk.is_warehouse as isWarehouse,
bk.warehouse_id as warehouseId,
k.guide
FROM
book_keyword bk
...
...
@@ -121,6 +129,8 @@
k.description,
k.link_url linkUrl,
k.pic_url picUrl,
bk.is_warehouse as isWarehouse,
bk.warehouse_id as warehouseId,
k.reply_type replyType
FROM
book_keyword bk
...
...
@@ -152,6 +162,10 @@
AND k.is_delete = 0
</select>
<update
id=
"updateIsWarehouse"
parameterType=
"long"
>
update book_keyword set is_warehouse =1 where id = #{bookKeywordId}
</update>
<select
id=
"getByBookKeyword"
resultType=
"KeywordVO"
parameterType=
"Long"
>
SELECT
k.id keywordId,
...
...
@@ -167,6 +181,8 @@
pic_url picUrl,
reply_type replyType,
serve_id serveId,
bk.is_warehouse as isWarehouse,
bk.warehouse_id as warehouseId,
serve_type serveType
FROM
book_keyword bk
...
...
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