fix:播报字段小写

This commit is contained in:
zhangzhiqiang
2022-11-24 08:49:03 +08:00
parent e300e9a9f3
commit 9f605d1da1

View File

@@ -550,7 +550,7 @@ public class DeviceBigScreenServiceImpl implements DeviceBigScreenService {
String warn_time = jonow.getString("warn_time");
if(StrUtil.isEmpty(process_id)){
if(StrUtil.isEmpty(warn_time)){
jo.put("needCast","1");
jo.put("needcast","1");
}else{
Date warn_date = DateUtil.parse(warn_time);
//毫秒数 = 当前时间-上次播报时间
@@ -558,7 +558,7 @@ public class DeviceBigScreenServiceImpl implements DeviceBigScreenService {
// 10*60*1000 10分钟
long min_10 = 10*60*1000;
if(ms >= min_10){
jo.put("needCast","1");
jo.put("needcast","1");
}
}
}