Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-message-channel
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 c3712588
authored
Apr 15, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]pulsar消费服务
1 parent
50a6223d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/mapper/SmartSceneDataMapper.xml
src/main/resources/mapper/SmartSceneDataMapper.xml
View file @
c371258
...
...
@@ -22,8 +22,8 @@
id, scene_id, `type`, sort, param_key, device_id, param_value
</sql>
<select
id=
"findSceneDataByDeviceId"
resultMap=
"BaseResultMap"
>
select t1.*,t2.condition_rule,t2.execute_cycle from smart_scene_data t1 left join smart_scene t2
on t1.scene_id=t2.id
where device_id=#{deviceId} and param_key='scene_condition_status' and t2.status=1
select t1.scene_id,t2.condition_rule,t2.execute_cycle from smart_scene t2 left join smart_scene_data t1
on t1.scene_id=t2.id
where device_id=#{deviceId} and param_key='scene_condition_status' and t2.status=1
GROUP BY t1.scene_id
</select>
<select
id=
"findBySceneId"
resultMap=
"BaseResultMap"
>
select t1.*,t2.condition_rule,t2.execute_cycle from smart_scene_data t1 left join smart_scene t2 on t1.scene_id=t2.id
...
...
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