This commit is contained in:
2022-08-19 11:15:38 +08:00
parent 1a50b0f256
commit 885557a651

View File

@@ -189,8 +189,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
}
}
jo1.put("MIBF", NumberUtil.roundStr(wt_mibf/60,2));
jo1.put("MTTR", NumberUtil.roundStr(wt_mttr/60,2));
jo1.put("MIBF", NumberUtil.roundStr(wt_mibf/60,0));
jo1.put("MTTR", NumberUtil.roundStr(wt_mttr/60,0));
jo1.put("err_times", wt_err_rows.size());
//综合工段
JSONObject jo2 = new JSONObject();
@@ -257,8 +257,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
}
}
jo2.put("MIBF", NumberUtil.roundStr(zh_mibf/60,2));
jo2.put("MTTR", NumberUtil.roundStr(zh_mttr/60,2));
jo2.put("MIBF", NumberUtil.roundStr(zh_mibf/60,0));
jo2.put("MTTR", NumberUtil.roundStr(zh_mttr/60,0));
jo2.put("err_times", zh_err_rows.size());
//成品工段
JSONObject jo3 = new JSONObject();
@@ -325,8 +325,8 @@ public class DeviceScreenServiceImpl implements DeviceScreenService {
}
}
jo3.put("MIBF", NumberUtil.roundStr(cp_mibf/60,2));
jo3.put("MTTR", NumberUtil.roundStr(cp_mttr/60,2));
jo3.put("MIBF", NumberUtil.roundStr(cp_mibf/60,0));
jo3.put("MTTR", NumberUtil.roundStr(cp_mttr/60,0));
jo3.put("err_times", cp_err_rows.size());
JSONObject result = new JSONObject();