|
@@ -285,24 +285,13 @@ public class ApmacController extends SimpleController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 查找所有与该运营商下的所有的场景对应的云联定义的数聚场景
|
|
|
- * 这里必须传递一个运营商id,因为是搜索某一个运营商下的场景
|
|
|
+ * 查找所有的数聚场景
|
|
|
* @return
|
|
|
*/
|
|
|
@RequestMapping("/placeClassName")
|
|
|
public @ResponseBody
|
|
|
- List<PlaceClassInformation> placeName(@RequestParam Long operatorId) {
|
|
|
- if(null == operatorId) {
|
|
|
- System.out.println("传递的参数为空");
|
|
|
- return (new ArrayList<PlaceClassInformation>());
|
|
|
- }
|
|
|
-
|
|
|
- //-1查询所有
|
|
|
- if(operatorId == -1){
|
|
|
- operatorId = null;
|
|
|
- }
|
|
|
-
|
|
|
- List<PlaceClassInformation> placeClassNameList = placeClassInformationService.findPlaceClassByOperatorId(operatorId);
|
|
|
+ List<PlaceClassInformation> placeName() {
|
|
|
+ List<PlaceClassInformation> placeClassNameList = placeClassInformationService.findPlaceClassByOperatorId();
|
|
|
return placeClassNameList;
|
|
|
}
|
|
|
|