Commit f94b29b0 by fz

Merge remote-tracking branch 'origin/smart-car-key-share' into smart-car-key-share

2 parents aca1bd05 75f86314
...@@ -64,6 +64,11 @@ public class SmartSceneTemplate extends BaseDTO implements Serializable { ...@@ -64,6 +64,11 @@ public class SmartSceneTemplate extends BaseDTO implements Serializable {
private Long pagePic; private Long pagePic;
/** /**
* 常驻首页 0否 1是
*/
private Byte isTop;
/**
* 场景背景图 * 场景背景图
*/ */
private String backPicUrl; private String backPicUrl;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<result column="icon" jdbcType="BIGINT" property="icon"/> <result column="icon" jdbcType="BIGINT" property="icon"/>
<result column="back_pic" jdbcType="BIGINT" property="backPic"/> <result column="back_pic" jdbcType="BIGINT" property="backPic"/>
<result column="page_pic" jdbcType="BIGINT" property="pagePic"/> <result column="page_pic" jdbcType="BIGINT" property="pagePic"/>
<result column="is_top" jdbcType="TINYINT" property="isTop"/>
<result column="view_times" jdbcType="BIGINT" property="viewTimes"/> <result column="view_times" jdbcType="BIGINT" property="viewTimes"/>
<result column="description" jdbcType="VARCHAR" property="description"/> <result column="description" jdbcType="VARCHAR" property="description"/>
<result column="condition_rule" jdbcType="TINYINT" property="conditionRule"/> <result column="condition_rule" jdbcType="TINYINT" property="conditionRule"/>
...@@ -35,7 +36,7 @@ ...@@ -35,7 +36,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
<!--@mbg.generated--> <!--@mbg.generated-->
id, scene_name, type_key, icon, back_pic, page_pic, view_times, description, condition_rule, id, scene_name, type_key, icon, back_pic, page_pic, is_top, view_times, description, condition_rule,
execute_cycle, `status`, remark, create_time, create_by, update_time, update_by execute_cycle, `status`, remark, create_time, create_by, update_time, update_by
</sql> </sql>
<update id="updateBatch" parameterType="java.util.List"> <update id="updateBatch" parameterType="java.util.List">
...@@ -485,6 +486,9 @@ ...@@ -485,6 +486,9 @@
<if test="status != null"> <if test="status != null">
and t.status = #{status,jdbcType=TINYINT} and t.status = #{status,jdbcType=TINYINT}
</if> </if>
<if test="isTop != null">
and t.is_top = #{isTop,jdbcType=TINYINT}
</if>
<if test="sceneName != null and sceneName != ''"> <if test="sceneName != null and sceneName != ''">
and t.scene_name = #{sceneName,jdbcType=VARCHAR} and t.scene_name = #{sceneName,jdbcType=VARCHAR}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!