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 999af450
authored
Apr 12, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]pulsar消费服务
1 parent
39aee282
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/mapper/SmartSceneDataMapper.xml
src/main/resources/mapper/SmartSceneDataMapper.xml
View file @
999af45
...
...
@@ -25,7 +25,7 @@
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'
</select>
<select
id=
"findBySceneId"
result
Type=
"cn.com.glsx.consumer.entity.SmartSceneData
"
>
<select
id=
"findBySceneId"
result
Map=
"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 scene_id=#{sceneId} and (param_key='scene_condition_status' or param_key='scene_condition_time')
</select>
...
...
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