Commit d63a2a10 authored by caotao's avatar caotao

改造登记接口修改

parent 76a105bc
...@@ -77,7 +77,7 @@ public class JgChangeRegistrationReformController extends BaseController { ...@@ -77,7 +77,7 @@ public class JgChangeRegistrationReformController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@PostMapping(value = "/delete") @PostMapping(value = "/delete")
@ApiOperation(httpMethod = "POST", value = "批量删除", notes = "批量删除") @ApiOperation(httpMethod = "POST", value = "删除", notes = "删除")
public ResponseModel<Object> deleteMessage(@RequestParam("id") Long id) { public ResponseModel<Object> deleteMessage(@RequestParam("id") Long id) {
ArrayList<Long> ids = new ArrayList<>(); ArrayList<Long> ids = new ArrayList<>();
ids.add(id); ids.add(id);
...@@ -98,7 +98,7 @@ public class JgChangeRegistrationReformController extends BaseController { ...@@ -98,7 +98,7 @@ public class JgChangeRegistrationReformController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "列表全部数据查询", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "获取设备列表", notes = "获取设备列表")
@GetMapping(value = "/getEquipList") @GetMapping(value = "/getEquipList")
public ResponseModel<Page<Map<String, Object>>> getEquipList( public ResponseModel<Page<Map<String, Object>>> getEquipList(
@RequestParam(value = "current") int current, @RequestParam(value = "current") int current,
...@@ -111,14 +111,14 @@ public class JgChangeRegistrationReformController extends BaseController { ...@@ -111,14 +111,14 @@ public class JgChangeRegistrationReformController extends BaseController {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "列表全部数据查询", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "获取详情", notes = "获取详情")
@GetMapping(value = "/getDetail") @GetMapping(value = "/getDetail")
public ResponseModel<Map<String, Object>> getDetail(@RequestParam("id") String id) { public ResponseModel<Map<String, Object>> getDetail(@RequestParam("id") String id) {
return ResponseHelper.buildResponse(jgChangeRegistrationReformServiceImpl.getDetail(id)); return ResponseHelper.buildResponse(jgChangeRegistrationReformServiceImpl.getDetail(id));
} }
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "列表全部数据查询", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "获取使用单位code及name", notes = "获取使用单位code及name")
@GetMapping(value = "/getMessage") @GetMapping(value = "/getMessage")
public ResponseModel<Map<String, Object>> getMessage() { public ResponseModel<Map<String, Object>> getMessage() {
ReginParams selectedOrgInfo = getSelectedOrgInfo(); ReginParams selectedOrgInfo = getSelectedOrgInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment