垂直越权漏洞增加注解
This commit is contained in:
parent
ccd79dc6ec
commit
c0da955a1f
|
|
@ -92,6 +92,7 @@ public class ScrapApplyDetailsController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation("查看报废任务详细列表")
|
@ApiOperation("查看报废任务详细列表")
|
||||||
@GetMapping("/getScrapAuditList")
|
@GetMapping("/getScrapAuditList")
|
||||||
|
@RequiresPermissions("scrap:scrapAuditList:list")
|
||||||
public TableDataInfo getScrapAuditList(ScrapApplyDetails scrapApplyDetails)
|
public TableDataInfo getScrapAuditList(ScrapApplyDetails scrapApplyDetails)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
@ -178,6 +179,7 @@ public class ScrapApplyDetailsController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation("查询报废审核任务列表")
|
@ApiOperation("查询报废审核任务列表")
|
||||||
@PostMapping("/scrapTaskReviewList")
|
@PostMapping("/scrapTaskReviewList")
|
||||||
|
@RequiresPermissions("scrap:scrapTaskReview:list")
|
||||||
public TableDataInfo scrapTaskReviewList(ScrapApplyDetails scrapApplyDetails)
|
public TableDataInfo scrapTaskReviewList(ScrapApplyDetails scrapApplyDetails)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
@ -221,7 +223,12 @@ public class ScrapApplyDetailsController extends BaseController
|
||||||
params.put("endTime", endTime+" 23:59:59");
|
params.put("endTime", endTime+" 23:59:59");
|
||||||
scrapApplyDetails.setParams(params);
|
scrapApplyDetails.setParams(params);
|
||||||
}
|
}
|
||||||
List<ScrapApplyDetailsVO> list = scrapApplyDetailsService.obtainDisposalList(scrapApplyDetails);
|
List<ScrapApplyDetailsVO> list = null;
|
||||||
|
try {
|
||||||
|
list = scrapApplyDetailsService.obtainDisposalList(scrapApplyDetails);
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new RuntimeException("系统异常,请联系管理员!");
|
||||||
|
}
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue