|
|
@ -132,7 +132,7 @@ public class DcEmergencyPlansController extends BaseController { |
|
|
|
*/ |
|
|
|
@ApiOperation("根据事件id-查询预案事件关联表") |
|
|
|
@GetMapping("/event/assoc/{id}") |
|
|
|
public AjaxResult eventConfirm(@PathVariable("id") String id) { |
|
|
|
public AjaxResult eventConfirmByEventId(@PathVariable("id") String id) { |
|
|
|
return AjaxResult.success(dcEmergencyPlansService.selectEventPlanAssocByEventId(id)); |
|
|
|
} |
|
|
|
|
|
|
@ -140,7 +140,7 @@ public class DcEmergencyPlansController extends BaseController { |
|
|
|
* 根据id-查询预案事件关联表 |
|
|
|
*/ |
|
|
|
@ApiOperation("根据id-查询预案事件关联表") |
|
|
|
@GetMapping("/event/assoc/{assocId}") |
|
|
|
@GetMapping("/event/assocId/{assocId}") |
|
|
|
public AjaxResult eventConfirmById(@PathVariable("assocId") Long assocId) { |
|
|
|
return AjaxResult.success(dcEmergencyPlansService.selectEventPlanAssocById(assocId)); |
|
|
|
} |
|
|
|