| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.ruoyi.utils.result.Results; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/app/appPatrolplan") |
| | | @Api(tags = "app巡检计划") |
| | | public class ArdAppPatrolplanController extends BaseController |
| | | { |
| | | @Autowired |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('app:appPatrolplan:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ArdAppPatrolplan ardAppPatrolplan) |
| | | @ApiOperation("查询全部巡检列表") |
| | | public Results list(ArdAppPatrolplan ardAppPatrolplan) |
| | | { |
| | | startPage(); |
| | | PageHelper.startPage(ardAppPatrolplan.getPageNum(),ardAppPatrolplan.getPageSize()); |
| | | List<ArdAppPatrolplan> list = ardAppPatrolplanService.selectArdAppPatrolplanList(ardAppPatrolplan); |
| | | return getDataTable(list); |
| | | return Results.succeed(new PageInfo<>(list)); |
| | | } |
| | | |
| | | /** |