Commit 252dc94f by 杨林龙

开发警情中心消费业务

1 parent 59b3a554
......@@ -32,7 +32,7 @@ public class EshieldAlarmConsumer extends MessageReceiver {
public void processMessage(String topic, byte[] message) throws Exception {
try {
String eshieldAlarmStr = new String(message, Charset.defaultCharset());
log.info("------------------ message.toString =" + eshieldAlarmStr);
log.info("------------------警情中心消费原始数据=" + eshieldAlarmStr);
if (eshieldAlarmStr.contains("|")) {
log.info("开始存储数据");
//进行数据库的插入 vin码 0、姓名 1、设备组合 2、警情级别 3、报警时间 4、警情说明 5、警情建议 6、报警详情 7
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!