Commit 676b9d38 by 吴博

feat: [1005398] 第三方资源大图

parent 44412441
......@@ -28,6 +28,9 @@ public class AppletThirdResources extends BaseEntity {
@ApiModelProperty("宣传图片")
private String resourceImgUrl;
@ApiModelProperty("宣传大图片")
private String bigImgUrl;
@ApiModelProperty("链接")
private String url;
......
......@@ -38,6 +38,9 @@ public class AppletThirdResourcesDTO extends BaseDto {
@ApiModelProperty("宣传图片")
private String resourceImgUrl;
@ApiModelProperty("宣传大图片")
private String bigImgUrl;
@ApiModelProperty("链接")
private String url;
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment