Commit f1f63d35 by 黄小葱

增加参数标注

1 parent 48c43ee8
...@@ -18,6 +18,7 @@ import org.apache.commons.lang.StringUtils; ...@@ -18,6 +18,7 @@ import org.apache.commons.lang.StringUtils;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -190,7 +191,7 @@ public class VehicleMonitorSevice { ...@@ -190,7 +191,7 @@ public class VehicleMonitorSevice {
* *
* @param sns * @param sns
*/ */
public List<VehicleLocationBo> getVehicleLocation(String sns, String deviceCode) { public List<VehicleLocationBo> getVehicleLocation(@RequestParam("sns") String sns, @RequestParam("deviceCode") String deviceCode) {
List<VehicleLocationBo> retVehilceBoList = new ArrayList<>(); List<VehicleLocationBo> retVehilceBoList = new ArrayList<>();
long begin = System.currentTimeMillis(); long begin = System.currentTimeMillis();
List<DeviceLocationBo> deviceLocationBos = monitorApiService.listDeviceMonitorInfo(sns, deviceCode); List<DeviceLocationBo> deviceLocationBos = monitorApiService.listDeviceMonitorInfo(sns, deviceCode);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!