Commit 2b9ddb87 by HlQ

[add] 添加店员识别异常指标

1 parent d951d839
......@@ -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 事件记录
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!