Commit 553d431b by 杨林龙

添加异常日志

1 parent abdc2f8d
...@@ -37,7 +37,8 @@ public class DeviceLocationController implements DeviceLocationClient { ...@@ -37,7 +37,8 @@ public class DeviceLocationController implements DeviceLocationClient {
@PostMapping(value = "/saveorupdatedevicelocationdata") @PostMapping(value = "/saveorupdatedevicelocationdata")
@SysLog(module = MODULE, value = "插入或者更新设备上点数据", action = OperateType.EDIT) @SysLog(module = MODULE, value = "插入或者更新设备上点数据", action = OperateType.EDIT)
@ApiOperation(value = "插入或者更新设备上点数据") @ApiOperation(value = "插入或者更新设备上点数据")
public R<Integer> saveOrUpdateDeviceLocationData(Collection<DeviceLocationDto> deviceLocationDtos) { @ResponseBody
public R saveOrUpdateDeviceLocationData(Collection<DeviceLocationDto> deviceLocationDtos) {
log.info("插入或者更新设备上点数据大小===" + deviceLocationDtos.size()); log.info("插入或者更新设备上点数据大小===" + deviceLocationDtos.size());
deviceLocationService.saveOrUpdateDeviceLocationData(deviceLocationDtos); deviceLocationService.saveOrUpdateDeviceLocationData(deviceLocationDtos);
return R.ok(); return R.ok();
...@@ -47,6 +48,7 @@ public class DeviceLocationController implements DeviceLocationClient { ...@@ -47,6 +48,7 @@ public class DeviceLocationController implements DeviceLocationClient {
@GetMapping(value = "/getallsninneweshield") @GetMapping(value = "/getallsninneweshield")
@SysLog(module = MODULE, value = "获取E盾中的所有设备号集合", action = OperateType.QUERY) @SysLog(module = MODULE, value = "获取E盾中的所有设备号集合", action = OperateType.QUERY)
@ApiOperation(value = "获取E盾中的所有设备号集合") @ApiOperation(value = "获取E盾中的所有设备号集合")
@ResponseBody
public R<List<String>> getAllSnInNewEshield() { public R<List<String>> getAllSnInNewEshield() {
List<String> allSns = deviceLocationService.getAllSnInNewEshield(); List<String> allSns = deviceLocationService.getAllSnInNewEshield();
log.info("E盾中的所有设备号===" + JSON.toJSONString(allSns)); log.info("E盾中的所有设备号===" + JSON.toJSONString(allSns));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!