|  |  | 
 |  |  |     @ApiOperation("查询全部巡检列表及搜索筛选") | 
 |  |  |     public Results list(ArdAppPatrolplan ardAppPatrolplan) | 
 |  |  |     { | 
 |  |  |         String userId = SecurityUtils.getUserId(); | 
 |  |  |         ardAppPatrolplan.setUserId(userId); | 
 |  |  |         if(ardAppPatrolplan.getPageNum()==null || ardAppPatrolplan.getPageNum() == 0){ | 
 |  |  |             ardAppPatrolplan.setPageNum(1); | 
 |  |  |         } | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @PreAuthorize("@ss.hasPermi('app:appPatrolplan:edit')") | 
 |  |  |     @Log(title = "app巡检计划", businessType = BusinessType.UPDATE) | 
 |  |  |     @PutMapping | 
 |  |  |     public AjaxResult edit(@RequestBody ArdAppPatrolplan ardAppPatrolplan) | 
 |  |  |     @ApiOperation("修改单条数据") | 
 |  |  |     @PutMapping("upd") | 
 |  |  |     public Results edit(@RequestBody Map<String,Object> para) | 
 |  |  |     { | 
 |  |  |         return toAjax(ardAppPatrolplanService.updateArdAppPatrolplan(ardAppPatrolplan)); | 
 |  |  |         return ardAppPatrolplanService.updateArdAppPatrolplan(para); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  |