Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 75f86314
authored
Apr 30, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数字车钥匙需求--think.wang
1 parent
2dc61cb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
src/main/java/com/glsx/smart/dao/entity/SmartSceneTemplate.java
src/main/resources/mapper/SmartSceneTemplateMapper.xml
src/main/java/com/glsx/smart/dao/entity/SmartSceneTemplate.java
View file @
75f8631
...
@@ -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
;
...
...
src/main/resources/mapper/SmartSceneTemplateMapper.xml
View file @
75f8631
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment