fix:播报字段小写
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user