package com.sooka.sponest.data.app.controller; import com.ruoyi.common.core.web.controller.BaseController; import com.ruoyi.common.core.web.domain.AjaxResult; import com.ruoyi.common.core.web.page.TableDataInfo; import com.sooka.sponest.data.app.domain.AppLeaveBo; import com.sooka.sponest.data.app.service.AppLeaveService; import com.sooka.sponest.data.emergency.domain.TPatrolAlert; import com.sooka.sponest.data.emergency.service.TPatrolAlertService; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; import java.util.List; @RestController @RequestMapping("AppPatroAlertController") public class AppPatroAlertController extends BaseController { @Autowired private TPatrolAlertService service; @ApiOperation(value = "巡更告警", notes = "巡更告警") @GetMapping("/list") public AjaxResult list(TPatrolAlert tAttach) { List list = service.selectTPatrolAlertList(tAttach); return AjaxResult.success(list); } }