|
@@ -29,7 +29,7 @@ public class AppSafetyInvolvedController extends BaseController {
|
|
/**
|
|
/**
|
|
* 查询涉及师生安全的案(事)件列表
|
|
* 查询涉及师生安全的案(事)件列表
|
|
*/
|
|
*/
|
|
- @GetMapping("/leader/list")
|
|
|
|
|
|
+ @GetMapping("/SafetyInvolved/list")
|
|
public AjaxResult list(ComprehensiveSafetyInvolved comprehensiveSafetyInvolved) {
|
|
public AjaxResult list(ComprehensiveSafetyInvolved comprehensiveSafetyInvolved) {
|
|
PageDomain pageDomain = TableSupport.buildPageRequest();
|
|
PageDomain pageDomain = TableSupport.buildPageRequest();
|
|
Integer pageNum = pageDomain.getPageNum();
|
|
Integer pageNum = pageDomain.getPageNum();
|
|
@@ -46,7 +46,7 @@ public class AppSafetyInvolvedController extends BaseController {
|
|
/**
|
|
/**
|
|
* 获取涉及师生安全的案(事)件详细信息
|
|
* 获取涉及师生安全的案(事)件详细信息
|
|
*/
|
|
*/
|
|
- @GetMapping("/leader/edit")
|
|
|
|
|
|
+ @GetMapping("/SafetyInvolved/edit")
|
|
public AjaxResult getInfo(String id) {
|
|
public AjaxResult getInfo(String id) {
|
|
return remoteSafetyInvolvedService.selectComprehensiveSafetyInvolvedById(id);
|
|
return remoteSafetyInvolvedService.selectComprehensiveSafetyInvolvedById(id);
|
|
}
|
|
}
|
|
@@ -54,7 +54,7 @@ public class AppSafetyInvolvedController extends BaseController {
|
|
/**
|
|
/**
|
|
* 新增涉及师生安全的案(事)件
|
|
* 新增涉及师生安全的案(事)件
|
|
*/
|
|
*/
|
|
- @PostMapping("/leader")
|
|
|
|
|
|
+ @PostMapping("/SafetyInvolved")
|
|
public AjaxResult add(@RequestBody String json) {
|
|
public AjaxResult add(@RequestBody String json) {
|
|
return remoteSafetyInvolvedService.insertComprehensiveSafetyInvolved(json);
|
|
return remoteSafetyInvolvedService.insertComprehensiveSafetyInvolved(json);
|
|
}
|
|
}
|
|
@@ -62,7 +62,7 @@ public class AppSafetyInvolvedController extends BaseController {
|
|
/**
|
|
/**
|
|
* 修改涉及师生安全的案(事)件
|
|
* 修改涉及师生安全的案(事)件
|
|
*/
|
|
*/
|
|
- @PostMapping("/leader/put")
|
|
|
|
|
|
+ @PostMapping("/SafetyInvolved/put")
|
|
public AjaxResult edit(@RequestBody String json) {
|
|
public AjaxResult edit(@RequestBody String json) {
|
|
return remoteSafetyInvolvedService.updateComprehensiveSafetyInvolved(json);
|
|
return remoteSafetyInvolvedService.updateComprehensiveSafetyInvolved(json);
|
|
}
|
|
}
|
|
@@ -70,7 +70,7 @@ public class AppSafetyInvolvedController extends BaseController {
|
|
/**
|
|
/**
|
|
* 删除涉及师生安全的案(事)件
|
|
* 删除涉及师生安全的案(事)件
|
|
*/
|
|
*/
|
|
- @GetMapping("/leader/del")
|
|
|
|
|
|
+ @GetMapping("/SafetyInvolved/del")
|
|
public AjaxResult remove(@RequestParam("id") List<String> id) {
|
|
public AjaxResult remove(@RequestParam("id") List<String> id) {
|
|
return remoteSafetyInvolvedService.deleteComprehensiveSafetyInvolvedByIds(id.toArray(new String[0]));
|
|
return remoteSafetyInvolvedService.deleteComprehensiveSafetyInvolvedByIds(id.toArray(new String[0]));
|
|
}
|
|
}
|