修改
This commit is contained in:
@@ -189,8 +189,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jo1.put("MIBF", NumberUtil.roundStr(wt_mibf/60,2));
|
jo1.put("MIBF", NumberUtil.roundStr(wt_mibf/60,0));
|
||||||
jo1.put("MTTR", NumberUtil.roundStr(wt_mttr/60,2));
|
jo1.put("MTTR", NumberUtil.roundStr(wt_mttr/60,0));
|
||||||
jo1.put("err_times", wt_err_rows.size());
|
jo1.put("err_times", wt_err_rows.size());
|
||||||
//综合工段
|
//综合工段
|
||||||
JSONObject jo2 = new JSONObject();
|
JSONObject jo2 = new JSONObject();
|
||||||
@@ -257,8 +257,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jo2.put("MIBF", NumberUtil.roundStr(zh_mibf/60,2));
|
jo2.put("MIBF", NumberUtil.roundStr(zh_mibf/60,0));
|
||||||
jo2.put("MTTR", NumberUtil.roundStr(zh_mttr/60,2));
|
jo2.put("MTTR", NumberUtil.roundStr(zh_mttr/60,0));
|
||||||
jo2.put("err_times", zh_err_rows.size());
|
jo2.put("err_times", zh_err_rows.size());
|
||||||
//成品工段
|
//成品工段
|
||||||
JSONObject jo3 = new JSONObject();
|
JSONObject jo3 = new JSONObject();
|
||||||
@@ -325,8 +325,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
jo3.put("MIBF", NumberUtil.roundStr(cp_mibf/60,2));
|
jo3.put("MIBF", NumberUtil.roundStr(cp_mibf/60,0));
|
||||||
jo3.put("MTTR", NumberUtil.roundStr(cp_mttr/60,2));
|
jo3.put("MTTR", NumberUtil.roundStr(cp_mttr/60,0));
|
||||||
jo3.put("err_times", cp_err_rows.size());
|
jo3.put("err_times", cp_err_rows.size());
|
||||||
|
|
||||||
JSONObject result = new JSONObject();
|
JSONObject result = new JSONObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user