|
|
@@ -334,4 +334,18 @@ public class MeterBaseSpotInfoController extends BaseRESTfulController {
|
|
|
throw new MarkerMetException(500, "操作异常!!");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "通过userID获取列表", notes = "不分页查询")
|
|
|
+ @GetMapping(value = "/selectSpotByConfigUserID")
|
|
|
+ public RESTfulResult selectSpotByConfigUserID(@RequestParam String userID) {
|
|
|
+ try {
|
|
|
+ HashMap map = new HashMap();
|
|
|
+ map.put("userID",userID);
|
|
|
+ List<MeterBaseSpotInfo> list = meterBaseSpotInfoMapper.selectSpotByConfigUserID(map);
|
|
|
+ return success(list);
|
|
|
+ } catch (Exception ex) {
|
|
|
+ ex.printStackTrace();
|
|
|
+ throw new MarkerMetException(500, "操作异常!!");
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|