Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-device-kafka-consumer
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 7972855a
authored
May 07, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码修改
1 parent
2c0ca697
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/main/java/cn/com/glsx/smart/service/OrderIssueService.java
src/main/java/cn/com/glsx/smart/service/SceneService.java
src/main/java/cn/com/glsx/smart/service/OrderIssueService.java
View file @
7972855
...
@@ -20,7 +20,7 @@ import java.util.List;
...
@@ -20,7 +20,7 @@ import java.util.List;
@Slf4j
@Slf4j
public
class
OrderIssueService
{
public
class
OrderIssueService
{
@
Resource
@
Autowired
private
SceneClient
sceneClient
;
private
SceneClient
sceneClient
;
/**
/**
...
...
src/main/java/cn/com/glsx/smart/service/SceneService.java
View file @
7972855
...
@@ -18,9 +18,9 @@ import com.alibaba.fastjson.JSON;
...
@@ -18,9 +18,9 @@ import com.alibaba.fastjson.JSON;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -32,19 +32,19 @@ import java.util.stream.Collectors;
...
@@ -32,19 +32,19 @@ import java.util.stream.Collectors;
@Service
@Service
public
class
SceneService
{
public
class
SceneService
{
@
Resource
@
Autowired
private
SmartDevideStatusMapper
smartDevideStatusMapper
;
private
SmartDevideStatusMapper
smartDevideStatusMapper
;
@
Resource
@
Autowired
private
SmartSceneDataMapper
smartSceneDataMapper
;
private
SmartSceneDataMapper
smartSceneDataMapper
;
@
Resource
@
Autowired
private
DayInfoMapper
dayInfoMapper
;
private
DayInfoMapper
dayInfoMapper
;
@
Resource
@
Autowired
private
ConditionStrategy
conditionStrategy
;
private
ConditionStrategy
conditionStrategy
;
@
Resource
@
Autowired
private
SceneClient
sceneClient
;
private
SceneClient
sceneClient
;
public
void
triggerScene
(
String
deviceId
,
String
order
){
public
void
triggerScene
(
String
deviceId
,
String
order
){
...
...
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