...
|
...
|
@@ -41,7 +41,7 @@ public class RfidController { |
|
|
@ResponseBody
|
|
|
public ApiResponse queryLeaveSku(@RequestParam(value="ip", required=true) String ip,
|
|
|
@RequestParam(value="mac", required=false) String mac) throws GatewayException {
|
|
|
logger.info("Enter RfidController.queryLeaveSku. ip is {}, mac is {}", ip, mac);
|
|
|
|
|
|
|
|
|
Map<String, Map<String, Long>> allTagsMap = SocketConstant.allTags;
|
|
|
Map<String, Long> skuMap = allTagsMap.get(ip);
|
...
|
...
|
@@ -57,6 +57,7 @@ public class RfidController { |
|
|
skuList.add(entry.getKey());
|
|
|
}
|
|
|
}
|
|
|
logger.info("out RfidController.queryLeaveSku. ip is: {}, skuList is: {}, currentTime is:{}", ip, skuList, System.currentTimeMillis());
|
|
|
//组织返回
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("query leave sku").data(skuList).build();
|
|
|
}
|
...
|
...
|
|