Commit 38e813af authored by zhangsen's avatar zhangsen

预警监测详情API修改

parent 5db47cd7
......@@ -641,9 +641,9 @@ public class AlarmInfoDetailServiceImpl implements IAlarmInfoDetailService {
Integer warningCycle=1;
if(strings.length == 2){
if (spiltStr.equals("分钟")){
warningCycle = Integer.valueOf(strings[0])/10;
warningCycle = Integer.valueOf(strings[0].replace(".0", ""))/10;
}else {
warningCycle=Integer.valueOf(strings[0]);
warningCycle=Integer.valueOf(strings[0].replace(".0", ""));
}
if(strings[1].contains("<")){
maxValue = Double.valueOf(strings[1].split("<")[1]);
......
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