|
@@ -114,9 +114,9 @@ public class ApiAppDeviceController {
|
|
|
throw new ApiRuntimeException("包型号和单体型号配置错误");
|
|
|
}
|
|
|
|
|
|
- if (StringUtils.isEmpty(bmsData.get("devcode")) && StringUtils.isEmpty(gpsData.get("devcode"))) {
|
|
|
- return ApiDTO.error(500, "该电池未产生过数据,禁止录入");
|
|
|
- }
|
|
|
+// if (StringUtils.isEmpty(bmsData.get("devcode")) && StringUtils.isEmpty(gpsData.get("devcode"))) {
|
|
|
+// return ApiDTO.error(500, "该电池未产生过数据,禁止录入");
|
|
|
+// }
|
|
|
if (checkSnResult.equals("passed")) {
|
|
|
// 查询当前操作id的最大值
|
|
|
StringBuffer sql = new StringBuffer();
|