|
@@ -135,9 +135,9 @@ public class AppDeviceServiceImp extends JpaServiceImp<AppDevice, String> implem
|
|
|
gpsData.put("devcode",null);
|
|
|
}
|
|
|
|
|
|
- if(StringUtils.isEmpty(bmsData.get("devcode")) && StringUtils.isEmpty(gpsData.get("devcode"))){
|
|
|
- throw new ApiRuntimeException("sn:" + device.getSn() + "未产生过数据,批次导入失败");
|
|
|
- }
|
|
|
+// if(StringUtils.isEmpty(bmsData.get("devcode")) && StringUtils.isEmpty(gpsData.get("devcode"))){
|
|
|
+// throw new ApiRuntimeException("sn:" + device.getSn() + "未产生过数据,批次导入失败");
|
|
|
+// }
|
|
|
|
|
|
// 批量导入时由于没有x-token, 无法确定操作者
|
|
|
// device.setOperator(utilService.getUserName());
|