fix:播报字段小写
This commit is contained in:
@@ -550,7 +550,7 @@ public class DeviceBigScreenServiceImpl implements DeviceBigScreenService {
|
|||||||
String warn_time = jonow.getString("warn_time");
|
String warn_time = jonow.getString("warn_time");
|
||||||
if(StrUtil.isEmpty(process_id)){
|
if(StrUtil.isEmpty(process_id)){
|
||||||
if(StrUtil.isEmpty(warn_time)){
|
if(StrUtil.isEmpty(warn_time)){
|
||||||
jo.put("needCast","1");
|
jo.put("needcast","1");
|
||||||
}else{
|
}else{
|
||||||
Date warn_date = DateUtil.parse(warn_time);
|
Date warn_date = DateUtil.parse(warn_time);
|
||||||
//毫秒数 = 当前时间-上次播报时间
|
//毫秒数 = 当前时间-上次播报时间
|
||||||
@@ -558,7 +558,7 @@ public class DeviceBigScreenServiceImpl implements DeviceBigScreenService {
|
|||||||
// 10*60*1000 10分钟
|
// 10*60*1000 10分钟
|
||||||
long min_10 = 10*60*1000;
|
long min_10 = 10*60*1000;
|
||||||
if(ms >= min_10){
|
if(ms >= min_10){
|
||||||
jo.put("needCast","1");
|
jo.put("needcast","1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user