Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
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 2b9ddb87
authored
Nov 07, 2024
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[add] 添加店员识别异常指标
1 parent
d951d839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
src/main/java/vion/event/mqtt/MqttClientMessageListener.java
src/main/java/vion/event/mqtt/MqttClientMessageListener.java
View file @
2b9ddb8
...
...
@@ -55,6 +55,9 @@ public class MqttClientMessageListener {
case
HEADCOUNT_RATIO:
handleHeadcountRatio
(
jsonObj
.
toString
());
break
;
case
STAFF_RECOGNIZE:
handleStaffRecognize
(
jsonObj
.
toString
());
break
;
// region store 事件
case
STORE_CUSTOMER_UNDULATE:
handleStoreCustomerUndulate
(
jsonObj
.
toString
());
...
...
@@ -157,6 +160,16 @@ public class MqttClientMessageListener {
}
/**
* 店员识别异常
*
* @param payloadStr 事件记录
*/
private
void
handleStaffRecognize
(
String
payloadStr
)
{
EventRecord
eventRecord
=
JsonUtil
.
parseObject
(
payloadStr
,
EventRecord
.
class
);
recordService
.
save
(
eventRecord
);
}
/**
* 客流数据中断
*
* @param payloadStr 事件记录
...
...
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