|
@@ -138,7 +138,7 @@ public class AppDeviceLogServiceImpl extends JpaServiceImp<AppDeviceLog, String>
|
|
|
// if (!StringUtils.isEmpty(bmsData.get("locked_state")) && bmsData.get("locked_state").equals(0)) { //如果该值为null, 则放过
|
|
|
// checkLockResult = false;
|
|
|
// }
|
|
|
- if (!StringUtils.isEmpty(bmsData.get("error_code")) && bmsData.get("error_code").equals(0)) {
|
|
|
+ if (!StringUtils.isEmpty(bmsData.get("error_code")) && !bmsData.get("error_code").equals(0)) {
|
|
|
checkFaultResult = false;
|
|
|
}
|
|
|
List<Double> voltage = ObjectUtil.StringToArrayList((String) bmsData.get("cell_voltages"), ",");
|