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
676b9d38
Commit
676b9d38
authored
Sep 06, 2021
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [1005398] 第三方资源大图
parent
44412441
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
AppletThirdResources.java
...a/com/pcloud/book/applet/entity/AppletThirdResources.java
+3
-0
AppletThirdResourcesDTO.java
...a/com/pcloud/book/applet/dto/AppletThirdResourcesDTO.java
+3
-0
AppletThirdResources.xml
...src/main/resources/mapper/applet/AppletThirdResources.xml
+8
-3
No files found.
pcloud-facade-book/src/main/java/com/pcloud/book/applet/entity/AppletThirdResources.java
View file @
676b9d38
...
...
@@ -28,6 +28,9 @@ public class AppletThirdResources extends BaseEntity {
@ApiModelProperty
(
"宣传图片"
)
private
String
resourceImgUrl
;
@ApiModelProperty
(
"宣传大图片"
)
private
String
bigImgUrl
;
@ApiModelProperty
(
"链接"
)
private
String
url
;
...
...
pcloud-service-book/src/main/java/com/pcloud/book/applet/dto/AppletThirdResourcesDTO.java
View file @
676b9d38
...
...
@@ -38,6 +38,9 @@ public class AppletThirdResourcesDTO extends BaseDto {
@ApiModelProperty
(
"宣传图片"
)
private
String
resourceImgUrl
;
@ApiModelProperty
(
"宣传大图片"
)
private
String
bigImgUrl
;
@ApiModelProperty
(
"链接"
)
private
String
url
;
...
...
pcloud-service-book/src/main/resources/mapper/applet/AppletThirdResources.xml
View file @
676b9d38
...
...
@@ -22,11 +22,12 @@
<result
column=
"button_img_url"
property=
"buttonImgUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"show_type"
property=
"showType"
jdbcType=
"TINYINT"
/>
<result
column=
"base_app_id"
property=
"baseAppId"
jdbcType=
"VARCHAR"
/>
<result
column=
"big_img_url"
property=
"bigImgUrl"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,resource_number,resource_type,resource_name,app_Id,resource_source,resource_img_url,resource_url,remark,create_time,update_time,
creator,updator,route_code,guide,top_img_url,float_img_url,button_img_url,show_type,base_app_id
creator,updator,route_code,guide,top_img_url,float_img_url,button_img_url,show_type,base_app_id
,big_img_url
</sql>
...
...
@@ -64,6 +65,7 @@
a.app_Id AS appletsId,
a.resource_source AS source,
a.resource_img_url AS resourceImgUrl,
a.big_img_url as bigImgUrl,
a.resource_url AS url,
a.remark AS remark,
a.creator,
...
...
@@ -137,6 +139,7 @@
a.app_Id AS appletsId,
a.resource_source AS source,
a.resource_img_url AS resourceImgUrl,
a.big_img_url AS bigImgUrl,
a.resource_url AS url,
a.remark AS remark,
a.creator,
...
...
@@ -168,6 +171,7 @@
third.resource_number number,
third.resource_type type,
third.resource_img_url resourceImgUrl,
third.big_img_url bigImgUrl,
third.resource_url url,
bm.material_url materialUrl,
third.route_code routeCode,
...
...
@@ -236,13 +240,13 @@
insert into applet_third_resources ( resource_number,resource_type,resource_name,
app_Id,resource_source,resource_img_url,
resource_url,remark,create_time,
update_time,creator,updator,route_code,guide, top_img_url, float_img_url, button_img_url, show_type,base_app_id
update_time,creator,updator,route_code,guide, top_img_url, float_img_url, button_img_url, show_type,base_app_id
,big_img_url
)
values (#{number,jdbcType=VARCHAR}, #{type,jdbcType=TINYINT}, #{name,jdbcType=VARCHAR},
#{appletsId,jdbcType=VARCHAR}, #{source,jdbcType=VARCHAR}, #{resourceImgUrl,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, now(),
now(), #{creator,jdbcType=BIGINT}, #{updator,jdbcType=BIGINT},#{routeCode,jdbcType=TINYINT}, #{guide,jdbcType=VARCHAR},
#{topImgUrl}, #{floatImgUrl}, #{buttonImgUrl}, #{showType}, #{baseAppId}
#{topImgUrl}, #{floatImgUrl}, #{buttonImgUrl}, #{showType}, #{baseAppId}
, #{bigImgUrl}
)
</insert>
...
...
@@ -267,6 +271,7 @@
<if
test=
"resourceImgUrl != null"
>
resource_img_url = #{resourceImgUrl,jdbcType=VARCHAR},
</if>
big_img_url = #{bigImgUrl,jdbcType=VARCHAR},
<if
test=
"url != null"
>
resource_url = #{url,jdbcType=VARCHAR},
</if>
...
...
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