标准预警 优化名称
This commit is contained in:
+32
-3
@@ -27,7 +27,21 @@ import java.util.Map;
|
||||
public class EarlyWarningEOController extends BaseController<EarlyWarningEO> {
|
||||
@Resource
|
||||
private EarlyWarningEOServiceImpl earlyWarningEOService;
|
||||
|
||||
/**
|
||||
*
|
||||
* @param newStandPage
|
||||
* @param newStandPageSize
|
||||
* @param oldStandPage
|
||||
* @param oldStandPageSize
|
||||
* @param newItemsPage
|
||||
* @param newItemsPageSize
|
||||
* @param oldItemsPage
|
||||
* @param oldItemsPageSize
|
||||
* @param applyType
|
||||
* @return
|
||||
* @author zj
|
||||
* date 2021-06-15
|
||||
**/
|
||||
@GetMapping("/StandWarning")
|
||||
@ApiOperation("标准预警查询")
|
||||
public ResponseMessage newPageInfo(@RequestParam(defaultValue = "1", value = "newStandPage")int newStandPage, @RequestParam(defaultValue = "10", value = "newStandPageSize") int newStandPageSize,
|
||||
@@ -50,14 +64,29 @@ public class EarlyWarningEOController extends BaseController<EarlyWarningEO> {
|
||||
listMap .add(map);
|
||||
return Result.success("200",listMap);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
* @author zj
|
||||
* date 2021-06-15
|
||||
**/
|
||||
@GetMapping("/ChangePermissions")
|
||||
@ApiOperation("更改权限")
|
||||
public ResponseMessage ChangePermissions(String id) {
|
||||
String power = earlyWarningEOService.ChangePermissions(id);
|
||||
return Result.success("200",power);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param newPolicyPage
|
||||
* @param newPolicyPageSize
|
||||
* @param oldPolicyPage
|
||||
* @param oldPolicyPageSize
|
||||
* @return
|
||||
* @author zj
|
||||
* date 2021-06-15
|
||||
**/
|
||||
@GetMapping("/PolicyWarning")
|
||||
@ApiOperation("政策预警查询")
|
||||
public ResponseMessage newPolicyPageInfo(@RequestParam(defaultValue = "1", value = "newPolicyPage")int newPolicyPage, @RequestParam(defaultValue = "10", value = "newPolicyPageSize") int newPolicyPageSize,
|
||||
|
||||
Reference in New Issue
Block a user