Commit a09b31b5 authored by 高飞's avatar 高飞

弹窗正检查

parent 1293d095
...@@ -183,12 +183,6 @@ public class TraffController { ...@@ -183,12 +183,6 @@ public class TraffController {
if (exists > 0) { if (exists > 0) {
return; return;
} }
//发送给前端
Map map = new HashMap();
map.put("type", "alarm");
map.put("data", trffClientMessage);
WebSocket.GroupSending(JsonUtil.beanToString(map));
traffAlarmRecord.setVideourlfrom(trffClientMessage.getVideo_record_url()); traffAlarmRecord.setVideourlfrom(trffClientMessage.getVideo_record_url());
traffAlarmRecord.setCreatetime(new Date()); traffAlarmRecord.setCreatetime(new Date());
...@@ -227,8 +221,15 @@ public class TraffController { ...@@ -227,8 +221,15 @@ public class TraffController {
/* 9:免审 */ /* 9:免审 */
traffAlarmRecord.setCheckstatus(9); traffAlarmRecord.setCheckstatus(9);
} }
int recordid = traffAlarmRecordMapper.selectmax(); int recordid = traffAlarmRecordMapper.selectmax();
traffAlarmRecord.setRecordid((long) (recordid + 1)); traffAlarmRecord.setRecordid((long) (recordid));
//发送给前端
Map map = new HashMap();
map.put("type", "alarm");
map.put("data", trffClientMessage);
map.put("recordid", recordid);
WebSocket.GroupSending(JsonUtil.beanToString(map));
traffAlarmRecord.setProcessstatus("0"); traffAlarmRecord.setProcessstatus("0");
traffAlarmRecordMapper.inserTraffAlarmRecord(traffAlarmRecord); traffAlarmRecordMapper.inserTraffAlarmRecord(traffAlarmRecord);
...@@ -399,4 +400,5 @@ public class TraffController { ...@@ -399,4 +400,5 @@ public class TraffController {
} }
...@@ -13,7 +13,7 @@ mybatis.configuration.map-underscore-to-camel-case=true ...@@ -13,7 +13,7 @@ mybatis.configuration.map-underscore-to-camel-case=true
mybatis.configuration.default-fetch-size=100 mybatis.configuration.default-fetch-size=100
mybatis.configuration.default-statement-timeout=3000 mybatis.configuration.default-statement-timeout=3000
#mybatis.mapperLocations = classpath:xxx.xml #mybatis.mapperLocations = classpath:xxx.xml
logging.level.com.hzjt=debug #logging.level.com.hzjt=debug
## �������ݿ�-����Դ���� ## �������ݿ�-����Դ����
#spring.datasource.url=jdbc:dm://127.0.0.1:12345/auditlocal_cq #spring.datasource.url=jdbc:dm://127.0.0.1:12345/auditlocal_cq
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment