Commit a1f1718d by HlQ

[add] 添加广场膨胀系数异常指标

1 parent b0f2e7df
......@@ -21,7 +21,6 @@ import java.util.List;
/**
* <b>/MS/receive</b> topic 监听事件处理
*
*/
@Service
@RequiredArgsConstructor
......@@ -86,6 +85,9 @@ public class MqttClientMessageListener {
case MALL_SHOP_DATA_UNDULATE:
handleMallShopDataUndulate(jsonObj.toString());
break;
case MALL_DILATATION_UNDULATE:
handleMallDilatationUndulate(jsonObj.toString());
break;
// endregion
default:
log.info("未定义的消息类型:{}, payload:{}", type, jsonObj);
......@@ -256,6 +258,16 @@ public class MqttClientMessageListener {
EventRecord eventRecord = JsonUtil.parseObject(payloadStr, EventRecord.class);
recordService.save(eventRecord);
}
/**
* 广场膨胀系数异常
*
* @param payloadStr 事件记录
*/
private void handleMallDilatationUndulate(String payloadStr) {
EventRecord eventRecord = JsonUtil.parseObject(payloadStr, EventRecord.class);
recordService.save(eventRecord);
}
// endregion
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!